Welcome to the documentation for the Movie API, which allows you to access and manage information about movies and users. This API is built using Node.js, Express.js, and MongoDB. The server-side component of a “movies” web application. The web application will provide users with access to information about different movies, directors, and genres. Users will be able to sign up, update their personal information, and create a list of their favorite movies.
Movie_api is the client-side component of an application using REACT. A web application (client-side and server-side) built using full-stack JavaScript technologies. The project will demonstrate a full-stack JavaScript development, including APIs, web server frameworks, databases, business logic, authentication, data security, and more.
Deployed client side apps using this API
Mirror stafe -- git
- Install Node.js and MongoDB.
- Clone the repository:
git clone https://github.com/your-username/movie-api.git
- Navigate to the project directory:
cd movie-api
- Install dependencies:
npm install
- Set up your MongoDB connection in
index.js
.
GET /movies
GET /users
GET /movies/:Title
GET /users/:Username/favorites
GET /users/:Username
GET /movies/genres/:genreName
GET /movies/directors/:directorName
POST /users
PUT /users/:Username
POST /users/:Username/movies/:MovieID
DELETE /users/:Username/movies/:MovieID
DELETE /users/:Username
Start the server: bash
npm start
The server will be running on port 8080 by default.