Airway is a full-stack API framework written in Go, inspired by Ruby on Rails.
Clone the repo
$ git clone https://github.com/daqing/airway.git$ cp .env.example .envThis file defines a few environment variables:
AIRWAY_PG
The URL string for connecting to PostgreSQL.
Example: postgres://daqing@localhost:5432/airway
AIRWAY_PORT
The port to listen on.
Example: 1900
TZ
The timezone of the server
Example: Asia/Shanghai
go install github.com/daqing/airway-cli/cmd/awcli@latestRun just from the project root directory to start the local
development server.