Skip to content

berthutapea/mern-movie

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BertFlix (MERN MOVIE)

Fullstack open source movie application made with MongoDB, Express, React & Nodejs (MERN)

Configuration and Setup

In order to run this project locally, simply fork and clone the repository or download as zip and unzip on your machine.

  • Open the project in your prefered code editor.
  • Go to terminal -> New terminal (If you are using VS code)
  • Split your terminal into two (run the client on one terminal and the server on the other terminal)

In the first terminal

$ cd client
$ npm install (to install client-side dependencies)
$ npm run  start (to start the client)

In the second terminal

  • cd server and Set environment variables in .env
  • Create your mongoDB connection url, which you'll use as your MONGO_URL
  • Supply the following credentials
#  --- .env  ---

MONGODB_URL
PORT =5000
TOKEN_SECRET=
TMDB_BASE_URL=
TMDB_KEY=
# --- Terminal ---

$ npm install (to install server-side dependencies)
$ npm start (to start the server)

Key Features

  • User registration and login
  • Authentication using JWT Tokens
  • Add Favorites
  • Delete Favorites
  • Leave a Reviews
  • Delete Reviews
  • Password Update
  • Search Live
  • Watch the trailer on Youtube
  • 404 Page and many more
  • Skeleton loading effect
  • DarkMode
  • Responsive Design

Technologies used

This project was created using the following technologies.

Frontend

  • React js - JavaScript library that is used for building user interfaces specifically for single-page applications
  • React Hooks - For managing and centralizing application state
  • react-router-dom - To handle routing
  • axios - For making Api calls
  • Material UI - For User Interface
  • CK-Editor - Rich Text Editor
  • Formik - Manage status and validation of data on forms efficiently
  • React Redux - manage application state efficiently and provide a more structured mechanism for managing data
  • React Toastify - To display interactive and responsive notifications (toasts) in web applications
  • Swiper - To create responsive and interactive sliders or carousels on web pages

Backend

  • Node js -A runtime environment to help build fast server applications using JS
  • Express js -The server for handling and routing HTTP requests
  • Mongoose - For modeling and mapping MongoDB data to JavaScript
  • axios - For making Api calls
  • jsonwebtoken - For authentication
  • cookie-parser - Middleware module used in Node.js web applications to manage cookies
  • cors - Provides a Connect/Express middleware
  • Dotenv - Zero Dependency module that loads environment variables
  • express-validator - Used in Node.js applications with the Express framework to validate data submitted by users (user input)
  • nodemon - Development utility for Node.js applications. Node.js is a runtime platform that allows you to run JavaScript on the server side.t

Database

  • MongoDB - It provides a free cloud service to store MongoDB collections.

Api

  • TMDB API - An application programming interface that provides access to a database of movies, television shows, and related information from The Movie Database platform.

Screenshots

img-1


img-2


img-3


img-4


img-5


img-6


img-7


img-8


img-9


img-10

Author

License

MIT License

Copyright (c) 2022 Gilbert Hutapea

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.