Inspiration

All developers has to write a lot of code when developing the backend of the application. You need to write the models corresponding to the schema of tables. Then need to write the serializers corresponding to the models and then expose all the views separately for all the CRUD (Create, Read, Update, Delete) operations separately. We can write the code and then modularise it. But we can’t visualize it, we need to create a separate copy of the ER (Entity relationship) diagram and need to keep it updated. We also need to keep track of the modules as well as the subcomponents of the system. Then making changes in the code need to update the docs. What if i told you can have a boilerplate code for your application with a visualisation available.

What it does

The django code generator helps you to create code for your web applications using the monday.com’s in just 3 simple steps:

Step 1 Create a new workspace and create a new board using the template application

Step 2 Configure all you tables and its columns in your application. Configure all your modules, components and tables.

Step 3 Click a build and it will download the zip file

How I built it

Used the templates and the views provided by monday.com. Got the data configurations from the Monday React SDK. Queried the data for the board using the monday api through GraphQL. Sent the data to a Django web server to create the build files and folders.

Challenges I ran into

Exploring the monday api. Exploring GraphQL. Connecting the monday api through both React and Python Deploying the coding using http.

Accomplishments that I'm proud of

I didn't have experience in React when i started with the project. I hadn't used GraphQL before starting this hackathon. Got a chance to work on a beautiful UI by Monday.com

What I learned

Monday SDK. How to pass board information through the UI to the React UI. Automating the Django codebase.

What's next for Django Automator - Code Generator

Expanding the automation to multiple frameworks. Deploying automatically using Monday. Using the Authorization on columns to provide support. Populating data from the api system generated back to monday workspaces.

Share this project:

Updates