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:
- DateRealesed
- Key
- User
- Deploy on VERCEL
- Clean:
- Queries to Mongoose
- Fakes users for tests
- Clean code
- Control errors (express-validator)