pedro-cal / kor-app-server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KOR ASSESSMENT - NODE.js REST API SERVER

1. Stack used

  • Node.js
  • Express
  • Nodemon
  • Mongoose
  • MongoDB Atlas

2. Running the server

To set up the server, do the following:

  1. On your terminal, run yarn to install dependencies
  2. Create a .env file at the root of your project with the information provided by email
  3. On your terminal, run yarn dev to run the server under nodemon's change monitoring
  4. The DB is already preloaded with example data.

3. Potential issues and pending features

  1. I tested almost everything with usernames. Emails might cause issues
  2. There is a lot of code styling, architecture and modularization I had to do too quickly and would certainly do differently If I had more time.
  3. I’m sure there are many bugs everywhere. Again, I would fix them with more time.
  4. I decided to create a new Id with uuid for each resource, but I might change that with more thought into the architecture.
  5. I didn’t have time to fully account for responsiveness for mobile. A lot of things in progress still.
  6. I would certainly add much more UX feedback to the user feedback like toast messages and better loading handling.
  7. I would never group some of the things I grouped under the same commits.
  8. Many coding patterns aren’t standard across the project. With time, I would that differently.
  9. I didn't implement real-time notifications with web sockets. Didn't have time and wanted to focus more on FE features.
  10. Security wasn't accounted for anywhere.

About


Languages

Language:TypeScript 98.4%Language:JavaScript 1.6%