This application was dockerized, So you need to have docker installed in your virtual machine
- Configure the .env like the following template
# mail
MAIL_HOST=smtp.faker.com
MAIL_USER=email@fake.com
MAIL_PASSWORD=fake123
MAIL_FROM=noreply@example.com
# google cloud and firebase
BUCKET_NAME=faker
GOOGLE_APPLICATION_CREDENTIALS=/usr/src/app/<key.json>
# redis
REDIS_HOST=localhost
REDIS_PORT=30502
# optional
MAIL_TRANSPORT=smtp://${MAIL_USER}:${MAIL_PASSWORD}@${MAIL_HOST}
- Run docker compose
docker-compose up -d dev
Just run docker compose for the following services
docker-compose up -d mysql_db mongo_db redis_db
Run the server on development mode
npm run start:dev