Project developed for the discipline of Software Product: Analysis, Specification, Project & Implementation at Impacta Technology.
-
Create a new
.env
file in the projectserver
root -
Inside set the following variables:
DATABASE_URL="mysql://<user>:<password>@<host>:<port>/<database>?schema=<schema>"
Before running the server, you need to install the dependencies in the server
folder.
$ npm install
Before running the app, you need to run the migrations to create the database schema.
# development mode
$ npm run migrate:dev
# production mode
$ npm run migrate:prod
Before running the app, you need to install the dependencies in the web
folder.
$ npm install
To run the app, you need to run following command inside the server
folder:
# development mode
$ npm run start:dev
To run the app, you need to run following command inside the web
folder:
# development mode
$ npm run dev
The following tools were used in the construction of the project: