Skip to content

Project built with NodeJs, allow user login/sign-up. Have 2 role normal user and admin. Admin can remove user

Notifications You must be signed in to change notification settings

jasonhieu1905/node-backend-member

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-backend-member

Project built with NodeJs, allow user login/sign-up. Have 2 role normal user and admin. Admin can remove user

Technology Stack

  • NodeJs, express
  • MongoDB/Mongoose
  • Html/Css/Jquery
  • Mocha, supertest

Set up and instruction

  1. Navigate to folder project and do command : "npm install"
  2. Install MongoDb and restore dump data from node-backend-member/Getlinks
  1. Start application with command : "node src/server.js" -> Navigate browser to "localhost:4200"
  2. Login with admin user "admin123/123123" Admin can see the list of user and delete them. Normal User only see his info
  3. Sign up feature.
  • Pros : All features are done.
  • Cons : UI is not focus on this test.

Testing

  1. run test with command "npm run test-watch"

Demo

https://streamable.com/a56ky

About

Project built with NodeJs, allow user login/sign-up. Have 2 role normal user and admin. Admin can remove user

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published