Skip to content

TerbangIn/BE-Tiketku

Repository files navigation

Final Project: TerbangIN

This is the REST API backend from the final project at Binar Academy. REST API for booking flight tickets.

API Documentation

Authors

Tech Stack

Node, Express, Sequelize, PostgreSQL, Swagger

Run Locally

Clone the project

git clone https://github.com/Tiketku/BE-Tiketku.git

Go to the project directory

cd BE-Tiketku

Install dependencies

npm install

Setup Sequelize

npx sequelize db:create
npx sequelize db:migrate
npx sequelize db:seed:all

Start the server

npm run dev

Environment Variables

To run this project, you will need to add the following environment variables to your .env file
JWT_SIGNATURE_KEY DB_USERNAME DB_PASSWORD DB_NAME DB_HOST DB_PORT PORT

IS_PRODUCTION SERVERKEY CLIENTKEY

Note

Thank you for coming.