Skip to content

ikkair/be-tiket-app

Repository files navigation


BuroQ

Backend BuroQ

Explore the docs »
View Demo ·

Table of Contents

About The Project

BuroQ is a website project that aims to provide a service for booking intercity or interregional flight tickets in Indonesia. The site offers various airline options and flight schedules that can be booked by users online.

One of the outstanding features of BuroQ is the ability to compare prices and flight schedules from different airlines in one display. This makes it easy for users to choose the best option according to their needs and budget.

To use this service, users only need to create an account and enter their travel details such as the city of origin, destination, date, and number of passengers. BuroQ will display a list of available flights, and users can choose the most suitable option for them.

Built With

Getting Started

Prerequisites

This is an example of how to list things you need to use the software and how to install them.

Thrid Party npm install
Express npm i express
Nodemon npm i nodemon
Morgan npm i morgan
XSS-CLEAN npm i xss-clean
PostgresSQL npm i pg
Dotenv npm i dotenv
CORS npm i cors
Eslint npm i eslint
jsonwebtoken npm i jsonwebtoken
googleapis npm i googleapis
passport npm i passport
bcrypt npm i bcrypt
cookie-session npm i cookie-session
uuid npm i uuid

Requirements

Documentation files are provided in the documentation folder

API endpoint list are also available as published postman documentation

Run in Postman

Installation

  • Clone This Back End Repo
git clone https://github.com/ikkair/be-tiket-app.git
  • Go To Folder Repo
cd be-tiket-app
  • Install Module
npm install
  <!-- Run App -->
  npm run dev
  <!-- Run Linter -->
  npm run lint

Setup .env example

Create .env file in your root project folder.

GOOGLE_DRIVE_TYPE
GOOGLE_DRIVE_PROJECT_ID
GOOGLE_DRIVE_PRIVATE_KEY_ID
GOOGLE_DRIVE_PRIVATE_KEY 
GOOGLE_DRIVE_CLIENT_EMAIL
GOOGLE_DRIVE_CLIENT_ID
GOOGLE_DRIVE_AUTH_URI 
GOOGLE_DRIVE_TOKEN_URI 
GOOGLE_DRIVE_AUTH_PROVIDER
GOOGLE_DRIVE_CLIENT_URL

GOOGLE_DRIVE_PHOTO_PATH=https://drive.google.com/uc?id=

# SSO
GOOGLE_OAUTH_CLIENT_ID
GOOGLE_OAUTH_CLIENT_SECRET
GOOGLE_OAUTH_REDIRECT_URL

# Database (PostgreSQL)
DB_HOST
DB_NAME
DB_PASSWORD
DB_PORT
DB_USER

PORT
ORIGIN_DOMAIN

SECRET_KEY_JWT

Contributing

Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

Related Project

🚀 Backend BuroQ

🚀 Frontend BuroQ

🚀 Demo BuroQ

Meet The Team Members

Fullstack Developer / Project Manager Frontend Developer Frontend Developer Backend Developer Backend Developer
Ikhlasul Kamal Irmansyah
Muhamad Ilham Darmawan
Alif Anke Bima Putra
Dhimas Pandu Yogaswara
Andiko Oktavianto
Shania Rizky Agustin
Muhamad Ilham Darmawan
Verdy Prido Lughara
Dhimas Pandu Yogaswara
Ikhlasul Kamal Irmansyah

Project Link: https://github.com/ikkair/be-tiket-app/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published