User Todo-List with JWT authorization and validation user input built with Sequelize, Express.js and Node.js.
For development, you will only need Node.js and a node global package, Yarn, installed in your environement.
-
Just go on official Node.js website and download the installer. Also, be sure to have
git
available in your PATH,npm
might need it (You can find git here). -
You can install nodejs and npm easily with apt install, just run the following commands.
$ sudo apt install nodejs $ sudo apt install npm
After installing node, this project will need yarn too, so just run the following command.
$ npm install -g yarn
$ git clone https://github.com/AkihitoVM/amcef-backend.git
$ cd amcef-backend
$ yarn install
$ touch .env
DB_USER=postgres
DB_PASSWORD=postgres
DB_HOST=localhost
DB_PORT=5432
DB_NAME=amcef
SALT=$2a$10$psPHgzGvYT5xOThEvsKWs.
JWTACCESS=JWTSECRET
$ yarn start