Skip to content

Latest commit

 

History

History
29 lines (24 loc) · 436 Bytes

README.md

File metadata and controls

29 lines (24 loc) · 436 Bytes

README

how to run this application

You first need to build the application with the command below.

make build

Subsequently, you need to feed the mock data to the database.

make migrate

Then, you can start up the server with this command.

make up

example query

query {
  scooter (lat: 1.39, lng: 103.9, limit:20, distance: 5000) {
      title
      lat
      lng
    }
}