This is the backend repository of AYS (At Your Service) app
- These code was made with
nodeversion12.13.1. So to be safe, you might want to use that version. - Use/type
npm installto install all of the package.json dependencies
touch .env
echo 'SECRET_KEY=YOUR_SECRET_KEY_FOR_JWT' >> .env
echo 'NODE_ENV=YOUR_DATABASE_ENVIRONMENT' >> .env
echo 'IMAGEKIT_PUBLIC_KEY=YOUR_IMAGEKIT_PUBLIC_KEY' >> .env
echo 'IMAGEKIT_PRIVATE_KEY=YOUR_IMAGEKIT_PRIVATE_KEY' >> .env
echo 'urlEndpoint=YOUR_IMAGEKIT_urlEndpoint' >> .env
echo 'BASE_URL=YOUR_BASE_URL' >> .env
echo 'SENDGRID_API_KEY=YOUR_SENDGRID_API_KEY' >> .envNODE_ENV='development'
npm run devNODE_ENV='test'
npm testNODE_ENV = 'staging'
npm startNODE_ENV='production'
npm startSwagger was used to create the documentation. The URL is Documentation link