Skip to content

This is a movie website built with CRUD Operation

Notifications You must be signed in to change notification settings

abdrhxyii/Baymovie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Movie App With CRUD Operations

Table of Contents

Installation

Follow these steps to set up the project on your local machine:

  1. Clone the Repository:
git clone https://github.com/yourusername/CRUD-APP-1.git
  1. Install Dependencies: Navigate to the project directory and install both frontend and backend dependencies:

cd movie-app-CRUD -> cd movies-interface -> npm install

cd ../backend -> npm install

Database Export

The project includes exported MongoDB collections in the data directory. These exports contain the necessary data to run the application.

Importing the Database

  1. Make sure you have MongoDB installed and running locally.

  2. Open your terminal and navigate to the bin directory of your MongoDB installation, typically located at C:\Program Files\MongoDB\Server\<version>\bin.

  3. Use the following command to import the collections from your remote MongoDB instance:

    mongorestore --uri "mongodb+srv://admin:RnGj0FHQWVFA11cp@cluster0.0fmqc9v.mongodb.net/moviesdbms" --nsInclude "movies.*" --nsInclude "users.*" --dir "C:\Users\kappal\Documents\CRUD APP 1\data"
    • Replace "mongodb+srv://admin:RnGj0FHQWVFA11cp@cluster0.0fmqc9v.mongodb.net/moviesdbms" with your actual MongoDB URI.
    • Make sure to include all the collections you want to import in the --nsInclude flags.
    • Adjust the --dir flag to point to the correct folder where the data exports are stored.
  4. The command will import the specified collections into your local MongoDB instance.

Run the Application

Start both the frontend and backend servers:

Usage

Login

Screenshot (548)

Signup

Screenshot (549)

All Movies

Screenshot (550)

Add new movies

Screenshot (551)

Update existing movies

Screenshot (552)

About

This is a movie website built with CRUD Operation

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published