This is filmus back-end in order to provide end points for front-end
- Express for routing
- MongoDB as a database
- JWT authentication middleware
- Custom Error messages
- Bycrypted password for users
- IMDB API utilization to navigate through TV shows
Run:
npm install
npm run start
The server.ts file is the starting point for the application it connects to the database and exposes the endpoints
The exposed routes are imported from routes folder.
Each route has it is own controller to specify the HTTP requests that can be done using the endpoints
Each database operation done in a controller can be found in a service file related to this controller
Some operations need sanitizing the input before processing it,therefore, the sanitizers folder exists
Backend i deployed on Render with the base url https://filmus-backend.onrender.com
You can see the frontend here https://github.com/Asem-Abdelhady/filmus-frontend
Frontend is deployed using Vercel here (https://filmus-frontend-ten.vercel.app/)[https://filmus-frontend-ten.vercel.app/]