- User signup with mail notifications
- Security by encryption of user's details
- CRUD operation on user and task
-
Install NodeJS in your machine
-
Install node modules
$ cd task-manager\ $ npm i
-
set up config.json.
- Make duplicate file of config/example.config.env by naming it config.env.
- Set send grid email API token in config.env after creating account on sendgrid.com
- Set other needed config environment
-
Project structure
-
Root
./
├──
src
template folder containing JS, CSS, HTML files├──
package.json
package manager file├──
package-lock.json
package manager file├──
.gitignore
list of files and folders to be ignored in git├──
README.md
Instruction file -
/src
./
├──
config/example.config.env
configuration file├──
middleware/auth.js
file for authorization file├──
models
containing file for mongoose models├──
router
containing files for APIs├──
service/email_sending,.js
file to send email├──
test
file for unit testing
-
-
Go to project (task-manager) directory in terminal and run the command
npm run start
// will run on localhost:3000