Author Name: Ibrahim Nimer
1-Clone the Repository:
2-Initialize Project: Run npm init -y
3-Install Dependencies: by running npm install express cors.
4-Create Basic File Structure: server.js , .gitignore , .eslintrc
5-Build Routes:
6-Handle Errors:
Home Page Endpoint (/): Display information about a specific movie.
Favorite Page Endpoint (/favorite): Display a welcome message for the favorite page.
Trending Page Endpoint (/trending): Display trending movies.
Discover Page Endpoint (/discover): Display and Discover what new.
Popular Page Endpoint (/popular): Display all-time popular movies.
Add Movies Endpoint (/addMovies): Add new movies requested.
All Movies Endpoint (/allMovies): To see what you requested.
Edit Movies Endpoint (/editMovie): To edit any movie detalis.
Delte Movies Endpoint (/DELETE): To delete a specific.
Get Movies Endpoint (/GET): To get a specific movie.
Error Handling: Functions to handle server errors (status 500) and "page not found" errors (status 404).