In this guide, we’ll take you through the process of setting up a full-stack MERN website called iCinema, which allows users to browse films, filter them by categories and ratings, and enables administrators to add new films to the list. Imagine iCinema as a vibrant directory, where every film is a golden ticket to an unforgettable cinematic experience!
Installation
Ready to dive in? Let’s get started with the installation of iCinema using npm, the package manager for JavaScript.
- First, fork the project by using the following command:
git clone https://github.com/orifmilodiCinema.git
cd iCinema
npm run setup
npm run dev
Built with
- FrontEnd: React.JS, Redux Library, Bootstrap, HTML/CSS
- Backend: Node.JS, Express.JS
- Database: MongoDB, Mongoose
Features
- Sign In, Sign Up, and Sign Out functionalities for users.
- Receiving a welcome email upon sign-up using Nodemailer.
- Ability to add a new movie to the list.
API
Users
- POST /api/auth/signUp
- POST /api/auth/signIn
- PATCH /api/users/:userId
- DELETE /api/users/:userId
Movies
- GET /api/movies
- GET /api/movies/:movieId
- POST /api/movies/addMovie
- PATCH /api/movies/:movieId
Genres
- GET /api/genres
Troubleshooting
If you encounter any issues during installation or while running the project, here are a few troubleshooting tips:
- Ensure that you have Node.js and npm installed on your machine. You can check this by running
node -vandnpm -vin your terminal. - If the project fails to run, make sure that all the packages have been installed correctly. Try deleting the
node_modulesfolder and runningnpm installagain. - Check the console for error messages that may guide you to the problem.
- If you’re unable to access specific endpoints, verify that your server is running and you are using the correct API routes.
- For any persistent issues, consider reaching out for help or additional resources.
For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.
Conclusion
At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.
Final Thoughts
Now that you’ve set up iCinema, think of it as a bustling movie theater where users come to explore cinematic options. Each line of code you wrote is like a friendly usher guiding patrons to their favorite films. Enjoy building your own movie hub!

