🐳 Running the App Locally
Prerequisites
- Docker + Docker Compose
- MongoDB
- Redis
- Node.js
Developing with Docker
- In
apps/backend/
rename .env.example.docker
to .env
- In
apps/frontend/
rename .env.example.docker
to .env
- Run:
git clone git@github.com:vvruspat/f1-app.git
cd f1-app
npm install
npm run docker:build
npm run docker:dev
npm run docker:dev runs all the containers including MongoDB & Redis
Developing without Docker
- Install Mongo and Redis
- In
apps/backend/
rename .env.example.local
to .env
- In
apps/frontend/
rename .env.example.local
to .env
- Run:
git clone git@github.com:vvruspat/f1-app.git
cd f1-app
npm install
npm run dev