GithubHelp home page GithubHelp logo

berthutapea / mern-movie Goto Github PK

View Code? Open in Web Editor NEW
46.0 2.0 4.0 307 KB

BertFlix "MERN MOVIE" (MongoDB, Express, React & Nodejs)

Home Page: https://bertflix.vercel.app

License: MIT License

HTML 1.35% JavaScript 98.65%
axios expressjs mern-project mern-stack mern-stack-development monggodb mongoose nodejs react redux

mern-movie's Introduction

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.

mern-movie's People

Contributors

berthutapea avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mern-movie's Issues

Bug

when you are in favorite section while you are logged in and you refresh it goes to sign in page for few seconds

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.