Closed R055A closed 2 years ago
Do we also need to set up database schema/model for this issue? Or create a new issue beacause I can not find any issues relate to the schema
Do we also need to set up database schema/model for this issue? Or create a new issue beacause I can not find any issues relate to the schema
There is a file created in the PR for the database model - it is currently empty. The existing Issues created earlier today will involve communicating with the database, such as creating a new document for a new user/blog, for example. Regarding setting up the database, we created one yesterday. There is another Issue for connecting to that database #14 that I have assigned myself to not too long ago and am going to complete it very soon I suspect. Furthermore, there are task Issues for reset and resample the database. The resample database task can be used to define a schema.
Description
Setup the backend server using the MVC layout. Configure HTTP route and setup endpoints with dummy tests. Much of this task was collaboratively completed by the backend team during meetings.
Related Issue
Solves #13
Type of change
How Has This Been Tested?
This has been tested with an implemented automated testing suite using mocha and supertest.
Run the test suite with
npm test
Checklist:
For more information, refer to the Contributing Guidelines document.