- Fork and clone this repository to your local computer.
- Open the project using VS Code.
- Install the recommended VS Code extensions:
ESLint
andPrettier
. - Copy and rename
.env.example
to.env
. Open.env
and change the database connection string. - Run
npm install
to install the project dependencies. - Run
npm run dev
to start the dev server. - Test the endpoints in the API client app.
- Create a new database schema in
./src/models
. - Create a new folder in
./src/api/components
(if needed). Remember to separate your codes to repositories, services, controllers, and routes. - Add the new route in
./src/api/routes.js
. - Test your new endpoints in the API client app.