What's the purpose of this issue?
Right now, we need to run two instances of Flask to handle registration flow, and CRUD operations for UserProfile. This is fine if we're building microservices, but there's no reason for them to be microservices when they are this small. To ensure a smoother development process, we will need to unify the two separate apps into one instance of Flask. We will also need to have a way to ensure the database is initialized right when we run the command to start the application.
Code Complete Criteria
- I can start the development environment with just one command
- It should initializes the database
- It should allows me to go through the login flow and perform CRUD operations for UserProfile without having to run another command to start another instance of Flask
- It should automatically restart the server whenever there's a code change (similar to how
nodemon restarts Node.js server whenever a code change)
Related issues
This issue is blocked by #18. We need that issue to be completed first before we start on this issue
What's the purpose of this issue?
Right now, we need to run two instances of Flask to handle registration flow, and CRUD operations for UserProfile. This is fine if we're building microservices, but there's no reason for them to be microservices when they are this small. To ensure a smoother development process, we will need to unify the two separate apps into one instance of Flask. We will also need to have a way to ensure the database is initialized right when we run the command to start the application.
Code Complete Criteria
nodemonrestarts Node.js server whenever a code change)Related issues
This issue is blocked by #18. We need that issue to be completed first before we start on this issue