This Project is an API that will handle the movies search request of the users. The record of the movies is stored in a database and the API will fetch the data from the database and return the result to the user. The API will also handle the request of the user to add a new movie to the database.
git clone https://github.com/Flanker-shyam/moviesAPI.gitnpm install- Create a
.envfile in the root directory of the project - Add the following to that
.envfile
PORT=3000
DB_URL=mongodb://localhost:27017/moviesData
DB_NAME=moviesData
DB_COLLECTION=moviesData
- Need to have installed mongoDB in your system
sudo service mongod startnpm startnpm run devIf you want to contribute to this project, follow these steps:
- Fork this repository.
- Clone your forked repository to your local system.
- Create a new branch with some meaningful name.(Important to make PR)
- Make necessary changes and commit those changes.
- Push changes to GitHub.
- Submit your changes by creating a pull request.