Write unit tests for the backend

In Progress

Mon Dec 11 2023

The backend code needs to have unit tests to ensure its functionality and quality. The tests should cover all the routes, controllers, models, and services. The tests should use Jest and Supertest frameworks and have a good coverage percentage.