Code Monkey home page Code Monkey logo

senior-project-obrs / supreme-pancake Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 2.0 13.85 MB

Online Bus Reservation System using MeteorJS and React connect with MongoDB. Also, integrates Omise Payment Gateway and sends a SMS notification to the mobile phone when a subscription payment is successful.

Home Page: https://nj-phuyaipu.meteorapp.com

CSS 15.03% HTML 0.09% JavaScript 84.87%
bus-reservation-system kmutnb senior-project axios meteorjs mongodb omisejs reactjs rpc-api sms-notifications

supreme-pancake's Introduction

Online Bus Reservation System

เนื่องจากการเปิดรับจองตั๋วรถผ่านทาง Facebook Fanpage ทำให้ทุกครั้งที่ลูกค้า inbox เข้ามา พนักงานขายตั๋วโดยสารจะมีขั้นตอนการทำงาน ดังนี้

  1. แจ้งรอบรถที่เปิดให้บริการ
  2. ตรวจสอบข้อมูลการเดินทางของผู้โดยสาร
  3. ตรวจสอบยอดการชำระเงิน (โอนเงิน)
  4. นำข้อมูลการเดินทางของผู้โดยสาร ลงในเว็บขายตั๋วรถออนไลน์
  5. ส่งรูปตั๋วให้ลูกค้า

ระบบจองตั๋วรถออนไลน์นี้ จึงมีวัตถุประสงค์เพื่อลดภาระงานของพนักงานขายตั๋วโดยสาร และอำนวยความสะดวกในการจองตั๋วของลูกค้า โดยเฉพาะอย่างยิ่งในกรณีที่มีลูกค้าหลายคน inbox เข้ามาใน Facebook Fanpage พร้อมกัน

System Overview


Database Diagram


Use Cases by User Role


User Interface

Customer

1. จองตั๋ว

คลิกเพื่อเล่นวีดีโอ

1.1 ชำระโดย Credit/Debit card


1.2 ชำระโดย iBanking



1.3 ชำระโดย PromptPay


เมื่อชำระเงินเรียบร้อยแล้ว จะได้รับ sms

2. เลื่อนตั๋ว


3. ยกเลิกตั๋ว

เมื่อดำเนินการยกเลิกการจองเรียบร้อยแล้ว ระบบจะส่งคำร้องขอคืนเงินไปยังเจ้าหน้าที่ โดยรายการดังกล่าวจะไปปรากฏในหน้า ตรวจสอบการคืนเงิน

4. แสดง E-ticket


5. เช็คอิน

เมื่อกดปุ่มแสดง QR code แล้ว ให้นำไปแสดงต่อพนักงานขายตั๋วโดยสารเพื่อเช็คอิน

Salesperson

1. เพิ่ม-ลบ รถโดยสาร


2. เพิ่ม-ลบ เส้นทาง


3. แก้ไขค่าโดยสาร และเวลาในการเดินทาง


4. เพิ่ม-ลบ ตารางเดินรถ


5. ตรวจสอบรอบรถ และยกเลิการจอง


6. เช็คอินให้ผู้โดยสาร

 

7. ตรวจสอบการคืนเงิน


Driver

1. ตารางขับรถ


2. เช็คอินให้ผู้โดยสาร

 

Admin

1. แก้ไขบทบาทผู้ใช้ และ 2. ลบผู้ใช้งาน


E2E testing

lorem

For Developers

Installation

Step1: $ git clone https://github.com/Senior-Project-OBRS/supreme-pancake.git
Step2: $ meteor npm install --save

Build

Step1: create settings.json in the root directory with the following parameters
Step2: $ meteor run --settings settings.json

settings.json

Run Testing

  • full-app tests $ meteor test --full-app --driver-package meteortesting:mocha --port 3100
  • unit tests $ meteor test --driver-package meteortesting:mocha --port 3100

Deploy

$ meteor deploy nj-phuyaipu.meteorapp.com --free --mongo --settings settings.json

supreme-pancake's People

Contributors

th-peeranut avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.