Tasks - macielgaleano/conecta2-server GitHub Wiki

Server details

The architecture of application is a CLIENT-SERVER, the diagram of the same is:

DB(mongoDB) -> ORM (Mongoose) -> Express.js Server | Client (React)

The changes that need our server are:

  • Remove views and all related to EJS
  • Remove passport, our routes and configuration.
  • Use JWT of Node.js, create new document called 'LoginLog' saving:
    1. DateRealesed
    2. Key
    3. User
  • Deploy on VERCEL
  • Clean:
    1. Queries to Mongoose
    2. Fakes users for tests
    3. Clean code
    4. Control errors (express-validator)