- Node
- Koa
- Knex
- Docker
- Typescript
- Graphql
- Jest
- Clone this repository into your local machine:
e.g git clone https://github.com/OdunayoOkebunmi/graphql-planets-be
- cd into the folder
e.g cd graphql-planets-be
- Create
.env
file and fill out the required information
e.g cp .env.example .env
- Install dependencies
e.g npm install
- Start the application by running the server script.
npm run start
http://localhost:3000/graphql
- Run
docker-compose up
run test using npm test
.
- Get all planets
- Get planets by ID
- Get all spacecenter
- Get spacecenter by ID or uid
- Get all flights (paginated)
- Get flights by ID
- Schedule a flight
- Create a booking
- Get all Bookings (paginated)