Welcome to my MovieDB Portfolio Project! Dive into a curated collection of movies with details on cast, crew, plots, and genres. I've crafted an interactive platform for film enthusiasts to explore both classics and the latest blockbusters. Join me in celebrating the magic of cinema through this user-friendly movie database.
Clone this repository
git clone https://github.com/surajkarki66/moviedb
-
Make sure you have Node.js installed on your local machine.
-
Install
yarn
using npm.npm install -g yarn
-
Install dependencies required by the backend server.
yarn install
-
Create a
.env
file in a project's root directory and set all the environment variables based on the provided.env.sample
example. -
Run the development server
yarn run dev
-
Preview: http://localhost:5000
-
After running the backend server, you only need to run the frontend.
-
Open up a new terminal window, and change the directory to
client
folder.cd client
-
Install dependencies required by the frontend app.
yarn install
-
Inside
src
directory there is a file with a nameconfigs.js
. Go inside that file and replace the last line of code with the code provided below.export const NODE_ENV = "development";
-
Run the development server
yarn start
-
Preview: http://localhost:3000
Happy Coding !!