You need to build REST API which allows you to do simple CRUD operations with role permissions.
32
39
- Architecture principles
- Express
- Middleware
- Routing
- Logger
- Validation
-
Create CRUD operations for the next entities: boards, cards. Each json files should contains at least 3 records by default. There are 2 types of users: Admin and simple user. Only admins can create, update and delete boards.
Board fields:
- name
- color
- description
- create at
Card fields:
- name
- description
- create at
- estimate
- status(enum)
- due date
- labels([string])
-
Use helmetjs for secure reasons.
-
Create minimum 2 custom middleware.
-
Add and configure Logger for development(in console) and production(in file) environments.
-
Use Joi to validate incoming parameters.
-
Use Three-Tier Architecture.
Use postman for testing REST API.
All existing routes should be covered by tests.