Skip to content

sshobotov/users-admin-panel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Backend tasks

In the backend folder you can find a skeleton for a simple app. These assignments require you to modify and add code as needed. You should also add test cases when you think that's appropriate.

1. Password saving

Make sure that users are stored in the database in a safe way. How would you store passwords? You can add 3rd party libraries and new properties to User model if needed.

2. Password validation

How would you validate that user is logging in with the correct password? Implement the function checkPassword according to specification in the User model code.

3. addRoles function

Implement addRoles function according to specification in the User model code.

4. Don't allow creating user with existing username

Creating users with existing username should result to error Username xx is already taken.

5. ACL

When listing users with

		GET /users
		GET /users/:id

Make sure passwords (and other non-public properties) are not sent. Hint: check serverbone codebase.

Frontend tasks

Make a simple frontend app: 'admin' GUI for the previously built backend using BackboneJS or React or both. With the app, you should be able to create new users and list created users.

About

Simple admin panel with Backbone and Node

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published