Skip to content

rodrigo-r-martins/MLDB

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 

Repository files navigation

MLDB - Movie Library Database

MLDB is a web application where anyone can search for movies based on their preferences, and also purchase tickets to watch them in the Movie Theater.

This repository contains the documentation and functionality on the client and server sides of the web application.

In order to run the application, make sure to previous install node.js in your machine.

Then, follow these steps:

  1. Clone the entire repository

  2. Go to the client directory

    • Install all dependencies by running "npm install" command in the terminal.
    • Enter your TMDB api key in the src/redux/slices/movieSlice.js file.
    • Enter your host in the src/redux/constants.js file. Ex: http://localhost:3001
    • Start the client side by running "npm start" command in the terminal.
    • The app will open in the development mode.

Open http://localhost:3000 to view it in the browser. The page will reload if you make edits.
You will also see any lint errors in the console.

  1. Go to the server directory

    • Install all dependencies by running "npm install" command in the terminal.
    • Start the server side by running "npm run startDev" command in the terminal.

    The server will run on http://localhost:3001. The server uses MongoDB database. In order to use it, create a MongoDB cluster and connect with your URI credential in the server/database/mongodb.js file. Then, in the file server.js.

MLDB is built using the following technologies:

  • Front-end: React, HTML, SASS, Redux, Axios
  • Back-end: Node.js, Express.js
  • Database: MongoDB

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 77.3%
  • SCSS 19.3%
  • HTML 3.4%