git clone https://github.com/Ndohjapan/Springbok-Back.git
cd Springbok-Back
- Cloudinary (This is for the image upload and daily transaction backup)
- Postmark (This handles email sending)
- Create a Mongodb Atlas Account or you can use localhost mongodb
- Create a Redis Account on http://redis.com/try-free
- Create a Treblle Account (This handles API monitoring and observability)
- Navigate to the configs folder
- Create a file named
.env
- Fill in with the necessary information
accessKeyId=
CLOUD_NAME=
CLOUDINARY_KEY=
CLOUDINARY_SECRET=
jwtPrivateKey=
mongoDbUrl=
otpMinutesLimit=
postmarkKey=
REDISCLOUD_URL=
REDIS_ENDPOINT_URI=
REDIS_HOST=
REDIS_PASSWORD=
REDIS_USERNAME=
REDIS_PORT=
secretAccessKey=
senderEmail=
NODE_ENV=
PRODUCTION_ADMIN_EMAIL=
DEVELOPMENT_ADMIN_EMAIL =
npm install
npm run dev
Go to the official website for mongodb and downlaod it for your operating system
https://www.mongodb.com/try/download/community
docker run -d -p 6380:6379 --name redis-container redis:latest
npm run test