Coder Social home page Coder Social logo

movie-site's Introduction

Contributors Forks Stargazers Issues MIT License LinkedIn


Logo

FIR MEDIA

A nature-inspired movie website
Version: v1.0.0-alpha
Author: Nguyen Hoang Long
Email: [email protected]
View Demo · Report Bug · Request Feature

Live Demo

Official website: https://firmedia.site

Table of Contents
  1. About The Project
  2. Getting Started
  3. Contributing
  4. License
  5. Acknowledgments

About The Project

Product Name Screen Shot

Fir Media celebrates the beauty and wonder of the natural world through the lens of cinema. Browse and and let the power of films transport you to the world's most breathtaking landscapes.

Screenshots

Note: some screenshots might have been outdated

Toggle Show/Hide

Home page

back to section

Search by keyword

back to section

Search by filters

back to section

Media page

back to section

Profile page

back to section

Sign in/ Sign up

back to section

Duration

Around 2 months - March to May 2023

User stories

Note: media = movie | TV shows

  • User should be able to see recommended (Trending, Up coming, Airing now, Top rated, Most popular) media in Home page
  • User should be able to search for media by: keyword, filter options
  • User should be able to see click and see further information about a media such as: overview, trailers, genres, similar media, etc.
  • User should be able to watch media or trailers of a media
  • User should be able to Sign in/ Sign up/ Sign out/ Deactivate account
  • User should be able to edit profile information such as: Username, email, avatar, password
  • User should be able to add media to profile list and categorize them based on: Favorite, Is Watching, Plan to Watch, Completed, Dropped. The "Is Watching" category should be displayed in Home page
  • User should be able to change their score and categorization of any media
  • User should be able to see the comment section as well as add and delete their comments for a media

Challenges

  • Use 100% Typescript with frontend and backend
  • Pick a suitable API
  • Pick state management library for client side (between Redux, Zustand, Jotai or React Context, + React Query)
  • Pick a UI routing options
  • Implement auth
  • Pick a suitable database paradigm
  • Create unit tests
  • Deploy frontend and backend on seperate machines

Solutions

API Source

The Movie Database API. (refer https://developer.themoviedb.org/docs/getting-started)
(Please look into the ./client/src/config/urls.ts file for more resource details)

Solution Stack

Here are all major frameworks/libraries used to bootstrap this project

  • React
  • Typescript
  • TailwindCSS
  • Jotai
  • Zustand
  • Zod
  • Vite
  • NodeJS
  • ExpressJS
  • MongoDB


Note: necessary libraries may have been left out * React-Query with Axios * Mongoose * React Hook Form * React Router v6 * React Auto-Animated * React Toastify * React Infinite Scroll Component * React Lazy Load Image Component * React Router Dom

Images & Icons

  • React Icons
  • Midjourney

Deployment

Frontend: React + Vite - render.com (refer https://render.com/docs/static-sites)
Backend logic: Express + Node - render.com (refer https://render.com/docs/web-services)
Database: Mongodb instance - railway.app (refer https://docs.railway.app/databases/mongodb)

(back to top)

Getting Started

Installation

Below is how you can install and set up your own app.

  1. Because this is an isolated monorepo which contains both the client and the server, you need to clone the repo and individually install the packet.json files of each directory ./client and ./server.
    git clone https://github.com/nhlong27/movieSite
  2. Install NPM packages
    cd ./client && npm install *** (cd ./server && npm i)
  3. Default hosts are render.com and railway.app. Create your own accounts and add environment variables (locally or on your hosts)
  1. Then if locally run the scripts for both directories
    npm run dev

(if you have any troubles please either create an issue or email me. Or message me here: (link to be added))

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

See the open issues for a full list of proposed features (and known issues).

(back to top)

License

To be added

(back to top)

Acknowledgments

This space is for resources I found helpful and would like to give credit to.

(back to top)

movie-site's People

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.