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).
This application mainly uses
On the project root folder
node api/server.js
This will start both an instance of MongoDB and the API server
On the project root folder run
react-scripts start
This will start only the React App development server
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
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
You can use the following environment variables:
MONGO_PORT
to set the Mongo DB port default to 27027MONGO ADDRESS
the url where the Mongo DB instance is exposed default to mongodb://localhostPORT
the port where the application will run
- Implemented API documentation
- Once upon a time specifications required
- Current state of the pending tasks todo
- As it is a Create React app script based app here there is the original generated Markdown readme file