Skip to content

Latest commit

 

History

History
84 lines (67 loc) · 3.16 KB

README.md

File metadata and controls

84 lines (67 loc) · 3.16 KB

KMITL OSRS

Panda API

An API of KMITL Online Space Reservation System, aka Panda Project.

Try it on https://space.itforge.io/graphiql

Our website: https://space.itforge.io

Contributing

This instruction assumes you already have brew and docker installed

Prerequisite

  1. Install sbt
$ brew install sbt

Start the Server

  1. Start PostgreSQL
$ make start
  1. Create local development database
$ make createdb
  1. Start the server.
$ sbt run

The API can now be accessed at localhost:9000.

Project Structure

panda-api/
├── app/
│   ├── config/             <-- app configuration files
│   ├── controllers/        <-- REST API controllers
│   ├── definitions/        <-- app definitions e.g. exceptions, constants
│   ├── entities/           <-- database entities, they have exactly same structure as database tables
│   ├── facades/            <-- application logic
│   ├── models/             <-- GraphQL models
│   ├── persists/           <-- database interfaces and implementations
│   ├── schemas/            <-- GraphQL schemas
│   ├── services/           <-- outside services e.g. LDAP, Facebook authentication
│   ├── utils/              <-- utilities
│   └── validators/         <-- validation logic
├── conf/
│   ├── application.conf    <-- default application configuration
│   ├── base.conf           <-- base configuration
│   ├── production.conf     <-- production configuration
│   ├── evolutions/         <-- database DDL scripts
│   └── routes/             <-- route file
├── project/
│   ├── build.properties    <-- sbt version used in this project
│   └── plugins.sbt         <-- sbt plugins
├── script/                 <-- script files
├── test/                   <-- tests
└── build.sbt               <-- sbt build file, which contains application dependencies, plugins and tasks

Team Members

We are from Information Technology, King Mongkut's Institute of Technology Ladkrabang

First Name Last Name GitHub Username Student ID
Kavin Ruengprateepsang @kavinvin 59070009
Kunanon Srisuntiroj @sagelga 59070022
Thitipat Worrarat @ynhof6 59070043
Nathan Yiangsupapaanontr @DobaKung 59070087
Pornprom Kiawjak @foofybuster 59070113

The project is part of these subjects:

  • 06016215 Web Programming
  • 06016216 Information System and Analysis
  • 06016217 Database System Concepts