Skip to content

thatsmycode/clientRMP

 
 

Repository files navigation

PickaMovie: Full Stack Web App

This project is made using the MERN stack. This is the link to the deployed version:

About this project:

This app's purpose is to select a random movie extracted from the TMDB (the movie data base) API. The user can press the big red button on the home page and receive a result or go to filters and discard the genres he/she is not interested in.

The app also allows saving the movie results in a favourites playlist and visit its content. He/She also can create new playlists of movies, and customize the name later, also add and delete movies from it.

Some of the features require the user to be logged in, those are: filtering, adding to favourites and creating new playlists. The user can easily sign up and log in or keep using the big red button to get a random movie without filtering.

Setup dotenv

Once you have cloned the repository, create a .env file in the root of the project. Add the following to the .env with your infomration:

VITE_SERVER_URL=http://localhost:5005

Vite uses this variable naming convention. The VITE_ prefix is required. Make sure that the url for the server matches the port that you are using for your it.

Routes table


Component Path Description
LoginPage /login Displays the login form
SignupPage /signup Displays the sign up form
HomePage / Displays the home page with the movie picker button
BigCard /randomMovie Returns the movie picked from filters or button
MoviesList /moviesList/:nameList Returns the content of the selected playlist
PlaylistForm /playlist Displays the form to create a new playlist
EditPlaylist /editPlaylist/:playlistId/:oldName Displays the form to edit the selected playlist
NotSignedIn /notSignedIn Displays a message when a not logged in user selects an only logged in feature
Filters /filters Displays the page with the genres to filter by
NotFoundPage /* Displays a message when the route doesn't exists

About

Client for Random Movie Picker Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HTML 75.1%
  • JavaScript 18.7%
  • CSS 6.2%