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
This instruction assumes you already have brew and docker installed
- Install sbt
$ brew install sbt
- Start PostgreSQL
$ make start
- Create local development database
$ make createdb
- Start the server.
$ sbt run
The API can now be accessed at localhost:9000
.
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
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