- MongoDB
- Node & npm
- Redis Server
- ImageMagick
- Download at:
- Ensure you have the executable on your system path by executing this command
magick --version
- Download at:
- Docker & Docker-Compose
- See instructions below
- googleInfo.json
- Contains the required tokens to authenticate users with Google in the API
api/middleware/googleInfo.json
- Contains the required tokens to authenticate users with Google in the API
- .env
- Contains the required tokens to authenticate users with Google in the frontend
frontend/.env
- Contains the required tokens to authenticate users with Google in the frontend
The API runs on port 5000, and expects Redis Server to be on port 6379 and MongoDB to be on port 27017.
- Go to the root of the API folder
cd api/
- Install the required npm packages
npm i
- Start MongoDB
- Start Redis Server on default port
redis-server
- Seed the database
npm run seed
- Start the API
npm start
The frontend runs on port 3000.
- Go to the root of the frontend folder
cd frontend/
- Install the required npm packages
npm i
- Start the React app
npm start
The Docker system expects ports 3000 and 5000 to be free on the host machine.
- Install Docker
- Install Docker Compose
- From the root directory, build the Docker Compose system
docker-compose build
- Run the Docker Compose system
docker-compose up
- Access the application normally
- When finished, kill the system
ctrl+c
- Remove the containers completely
docker-compose down