Skip to content

With Nodejs, MongoDB and Mongoose ODM, using Model and Controllers, I created a full CRUD movies and movies recommendation using OPENAI (CHAT GPT)

License

Notifications You must be signed in to change notification settings

walidbosso/mongdb_express_Movies_api_using_openai

Repository files navigation

mongdb_express_Movies_api_using_openai

GitHub WidgetBox


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

  • 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:

    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:

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 file for details.


 
© by Walid BOUSSOU  🇲🇦 😄
 


👏 Thanks for the support

Stargazers

Stargazers repo roster for @walidbosso/mongdb_express_Movies_api_using_openai

Forkers

Forkers repo roster for @walidbosso/mongdb_express_Movies_api_using_openai

Contributors



GitHub last commit (by committer)

GitHub License

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


Back to top

About

With Nodejs, MongoDB and Mongoose ODM, using Model and Controllers, I created a full CRUD movies and movies recommendation using OPENAI (CHAT GPT)

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published