This repository contains the endpoints of the fluid applications.
Member:
- Maulana Hassan S
- Risa Irmawati
https://kel1airplaneapi-production.up.railway.app/api
- cloudinary
- cookie-parser
- cors
- dotenv
- express
- multer
- nodemon
- pg
- sequelize
- uuid
- bycript
- jsonwebtoken
- sequelize-cli
- swagger-ui-express
- nodemailer
- Install Library
npm i
- Create an .env file on root folder
DB_USERNAME = ''
DB_PASSWORD = ''
DB_NAME = ''
DB_HOST = ''
DB_PORT =
DB_DIALECT = 'postgres'
CLOUD_NAME = ''
API_KEY = ''
API_SECRET = ''
CLODINARY_SECURE = true
JWT_SIGNATURE_KEY = "rahasia"
- Create Database
npm run db:create
- Migrating the model
npm run db:migrate
- Using seeder
npm run db:seed
- Running Project on development
npm run develop