Skip to content

User-Notes API with jwt authentication that allows you to create/retrieve users/notes, and attach notes to the users only if user is authenticated

Notifications You must be signed in to change notification settings

ftejeria/user-management

Repository files navigation

Note-User API

This API allows you to create users and attach notes to them. In order to add notes you need to be authenicated using jwt.You can also retrive users to check their information in notes. All the information is saved in a dockerized mongoDB

Pre-requirements

  1. Install Nodejs and Docker

  2. Start a mongo container listening on port 27017

docker run -d -p 27017:27017 --name my-mongo mongo:latest
  1. Create .env file following the .env.example template

Installation

Install local dependencies:

npm install

Develop

npm run dev

Running

npm start

Check request folder to see requests templates

Testing

npm test

About

User-Notes API with jwt authentication that allows you to create/retrieve users/notes, and attach notes to the users only if user is authenticated

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published