Skip to content

jmtalarn/wk-movie-o-rama

Repository files navigation

What's this?

This application has movies and users profiles. Each movie only has an ID, a cover image, title and a description. Movies can be liked and shared and there's also a counter of how many times the movies has been liked, shared and also who did it.

We also have users profiles and each user has an ID, username and an representative image. All the users have a profile where you can see the liked and shared movies. When the user shares a movie with some other user, a notification on its profile appears so the user can check the shared movie and also a short message (if included).

Stack used

This application mainly uses

Run the project

Run the API

On the project root folder

node api/server.js

This will start both an instance of MongoDB and the API server

Run the react app

On the project root folder run

react-scripts start

This will start only the React App development server

Run both at once

On "production/staging"

On the project root folder

    npm start

This will run with one script both the backend API and the frontend built on the build folder

On a development mode

This will enable the hot deploy feature coming with Create React app and will also run the API backend server using the concurrently package

	npm run dev

Environment variables

You can use the following environment variables:

  • MONGO_PORT to set the Mongo DB port default to 27027
  • MONGO ADDRESS the url where the Mongo DB instance is exposed default to mongodb://localhost
  • PORT the port where the application will run

Other documents here

About

React demo app. It just shows a set of movies where the users can like and share. Check the running demo version on Heroku.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published