juan-carlos-correa / directory-app

Basic users directory app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

directory-app

Basic users directory app

Todos backend

  • [] add tests (jasmine is recommended)
  • add GET endpoint for list all users that belongs to single company: GET /companies/:id/users
  • add PUT endpoint for update user data: PUT /users/:id (admin role can update everythin user, no admin role only himself)
  • add PATCH endopint for update user password: PATCH /users/:id (user can update only himself password)
  • add Tags model: company (objectId), name, color and description with timestamps
  • add POST endpoint for create new tag: POST /companies/:id/tags
  • add GET endpoint for list all tags that belong to single company: /companies/:id/tags
  • add PUT endpoing for update single tag of company: PUT /companies/:id/tags/:tagId
  • add DELETE endpoint for remove single tag of company: DELETE /companies/:id/tags/:tagId
  • add tags property to User model: array of objectId values
  • update users patch endpoint for support updates of differents fields
  • add middleware for remove tag ids in users on remove tag (in Tags model)

Nice to have

  • [] add config for use Mailgun
  • [] make Error class for abstract the throw errors actions
  • [] make validation abstraction for make validations like values required, min and max length, etc

Todos frontend

  • [] add tests
  • [] Make redux logic for auth
  • [] Add react router
  • [] Make login UI
  • [] Make signin UI
  • [] Connect login UI with redux
  • [] Connect signin UI with redux
  • [] Make private routes with react router (make a PrivateRoute component is recommended)
  • [] ...

About

Basic users directory app


Languages

Language:JavaScript 99.7%Language:HTML 0.3%