Skip to content

REST API which allows you to do simple CRUD operations with role permissions.

Notifications You must be signed in to change notification settings

iobuhov/trello-api

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Trello API

Short Description

You need to build REST API which allows you to do simple CRUD operations with role permissions.

Estimation (h)

32

Total time (h)

39

Topics

  • Architecture principles
  • Express
    • Middleware
    • Routing
    • Logger
    • Validation

Requirements

  1. 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])
  2. Use helmetjs for secure reasons.

  3. Create minimum 2 custom middleware.

  4. Add and configure Logger for development(in console) and production(in file) environments.

  5. Use Joi to validate incoming parameters.

  6. Use Three-Tier Architecture.

Testing

Use postman for testing REST API.

Advanced Requirements

All existing routes should be covered by tests.

About

REST API which allows you to do simple CRUD operations with role permissions.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%