- Node >= 12.8
- postgre >= 10.15
- clone or download the project
- open the project from a command terminal
- run
npm install
to install all dependencies - rename the .env.example file to .env and set the variables as needed
Example:
HOST=localhost
HOST_DB=localhost
PORT=4000
PORT_DB=5432
USER_DB=postgres
PASSWORD_DB=your_pass
DATABASE=tasks_db
JWT_SECRET=secret
- you can run the following statement in a psql shell or you can also create one from an administrator like pgAdmin 4 for create the database
CREATE DATABASE tasks_db;
- Development: run in a terminal
npm run dev
- Production: run in a terminal
npm start
To clone or download the Frontend click on the following link
Taskapi Client