This is a Fullstack Application developed with MongoDB, Express, React, and Nodejs using the MovieDB API.
Click this link to view a live demo of the application
Please allow some time for the server to wake up from sleep if the page does not immediately load.
- Go to the MovieDB website and register for a free API key.
- Go to the auth0 website and register for a free account.
Download the project and open the root directory.
Run npm ci
in both /client
and /server
to install required dependencies
You must also set the environment variables for both the frontend and backend.
-
Create a
.env
file in/server
and set the following variablesAPI_KEY = your MovieDB API key MONGODB_URI = your mongoDB connection string PORT = your server port here
-
Create a
.env
file in/client
and set the following variablesREACT_APP_AUTH0_DOMAIN = your auth0 domain REACT_APP_AUTH0_CLIENT_ID = your auth0 clientID REACT_APP_SERVER_URL = server url (eg: http://localhost:4000)
- Start the React App by navigating to
/server
and runningnpm start
- Start the Server by navigating to
/client
and runningnpm start
- The app can now be seen by navigating to http://localhost:3000