https://github.com/walidbosso/mongdb_express_movies_api_using_openai
With Nodejs, MongoDB and Mongoose ODM, using Model and Controllers, I created a full CRUD movies and movies recommendation using OPENAI (CHAT GPT)
https://github.com/walidbosso/mongdb_express_movies_api_using_openai
chatgpt controller crud model mongodb mongoose movies movies-api movies-app movies-recommendation nodejs openai rest-api
Last synced: 6 months ago
JSON representation
With Nodejs, MongoDB and Mongoose ODM, using Model and Controllers, I created a full CRUD movies and movies recommendation using OPENAI (CHAT GPT)
- Host: GitHub
- URL: https://github.com/walidbosso/mongdb_express_movies_api_using_openai
- Owner: walidbosso
- License: mit
- Created: 2023-09-26T08:15:56.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-01-10T17:59:54.000Z (over 1 year ago)
- Last Synced: 2024-11-29T20:13:51.889Z (8 months ago)
- Topics: chatgpt, controller, crud, model, mongodb, mongoose, movies, movies-api, movies-app, movies-recommendation, nodejs, openai, rest-api
- Language: JavaScript
- Homepage:
- Size: 1010 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README

[](https://github.com/walidbosso/mongdb_express_Movies_api_using_openai)
# Movies and Recommendations CRUD App
This is a full CRUD (Create, Read, Update, Delete) application for managing movies and obtaining movie recommendations. The application uses Node.js, MongoDB, Mongoose ODM, and integrates with OpenAI's ChatGPT for movie recommendations.
## Table of Contents
- [Features](#features)
- [Technologies Used](#technologies-used)
- [Installation](#installation)
- [Usage](#usage)
- [API Endpoints](#api-endpoints)
- [OpenAI Integration](#openai-integration)
- [License](#license)## Features
- Create, Read, Update, and Delete movies.
- Get movie recommendations using OpenAI's ChatGPT.
- RESTful API for easy integration.## Technologies Used
- Node.js
- MongoDB
- Mongoose ODM
- OpenAI (ChatGPT)## Installation
1. Fork then Clone the repository:
2. Install dependencies:
```bash
npm install
```3. Configure MongoDB:
- Ensure MongoDB is installed on your machine.
- Update the MongoDB connection string `.4. Set up OpenAI API Key:
- Get your OpenAI API key.
- Update the API key .## Usage
Start the server:
```bash
npm start
```Visit `http://localhost:3000` in your browser to access the application.
## API Endpoints
- **GET /movies**: Get all movies.
- **GET /movies/:id**: Get a specific movie.
- **POST /movies**: Create a new movie.
- **PATCH /movies/:id**: Update a movie.
- **DELETE /movies/:id**: Delete a movie.## OpenAI Integration
The application integrates with OpenAI's ChatGPT for movie recommendations. Ensure your OpenAI API key is set up
## License
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
----------------------
> >
© *by Walid BOUSSOU* 🇲🇦 😄
----------------------👏 Thanks for the support
## Stargazers
[](https://github.com/walidbosso/mongdb_express_Movies_api_using_openai/stargazers)
## Forkers
[](https://github.com/walidbosso/mongdb_express_Movies_api_using_openai/network/members)
## Contributors


𝚂𝚑𝚘𝚠 𝚜𝚘𝚖𝚎 💙 𝚋𝚢 𝚜𝚝𝚊𝚛𝚛𝚒𝚗𝚐 ⭐ 𝚝𝚑𝚎 𝚛𝚎𝚙𝚘𝚜𝚒𝚝𝚘𝚛𝚢!