MovieSearch is a web application that allows users to search for movies and view detailed information about them. The website is built using HTML, CSS, and JavaScript for the frontend, while the backend is powered by Express.js and Node.js, with MongoDB as the database.
- Search Movies: Users can search for movies by title.
- Movie Details: View detailed information about movies, including title, description, release date, genre, and ratings.
- Responsive Design: The website is fully responsive and works well on both desktop and mobile devices.
- Database: Movies information is stored in MongoDB.
-
Frontend:
- HTML
- CSS
- JavaScript
-
Backend:
- Node.js
- Express.js
-
Database:
- MongoDB
To run this project locally, follow these steps:
-
Clone the repository:
git clone https://github.com/Abdimajid99/MovieSearch.git cd MovieSearch
-
Install dependencies:
cd server/ npm install
-
Set up environment variables: Create a
.env
file in the server directory and add the following:DATABASE_URL=your-mongodb-connection-string
-
Start the application:
npm start
-
Visit the website: Open your browser and go to
http://localhost:3001
.
- Search for a movie: Use the search bar on the homepage to find movies by title.
- View movie details: Click on a movie from the search results to view more information.
while building this project, I learned many things including:
- Npm
- Node
- Express
- MongoDB
- Conventional commits