A full-stack blogging site project.
- Clone the repository
git clone https://github.com/Dev-Destructor/PostBlitz-Backend.git
- Change the working directory
cd PostBlitz
- Add the following environment variables in your docker-compose file (Use it only for development we have a infrastructure folder build for usage in production using ansible and terraform)
REDIS_URL: redis://redis:6379
MONGO_URL: MONGO_URL
AUTH_EMAIL: EMAIL_ADDRESS_FOR_NODEMAILER
AUTH_PASS: PASSWORD_FOR_NODEMAILER
USER_ACCESS_TOKEN_SECRET: userAceessTokenSecret
ADMIN_ACCESS_TOKEN_SECRET: adminAccessTokenSecret
USER_REFRESH_TOKEN_SECRET: userRefreshTokenSecret
AWS_S3_BUCKET_NAME: YOUR_AWS_BUCKET_NAME
AWS_S3_BUCKET_REGION: YOUR_AWS_BUCKET_REGION
AWS_S3_BUCKET_ACCESS_KEY_ID: YOUR_AWS_BUCKET_ACCESS_KEY_ID
AWS_S3_BUCKET_SECRET_ACCESS_KEY: YOUR_AWS_BUCKET_SECRET_ACCESS_KEY
- Run
docker-compose up
to start the project.
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.