A podcast player application built with the "MERN" stack, i.e. React.js, Express MongoDB, and Node.
Run npm install
from within the project's root to install the necessary dependencies.
You'll need to create a file named .env
with the same structure as the .env.example
file already provided in the backend/
directory.
You'll need to have MongoDB running either locally, or by entering a URL to the MONGO_URI
key in the .env
file.
Redis can be used for caching on the server. Once installed & added to your path, you can start the Redis server as follows.
$ redis-server
Runs the React client in development mode.
Open http://localhost:3000 to view it in the browser.
Launches the Express server using nodemon, so it will automatically reload if you modify the server code.
Runs the client and server concurrently.
Generates a production build of the React app inside the build
directory.
To run using Docker Compose:
docker-compose up
docker-compose -f docker-compose.yml -f docker-compose.dev.yml up