Skip to content

daqing/waterway

Repository files navigation

About

Waterway is a full-stack web framework written in Go, inspired by Ruby on Rails.

查看中文文档

Get Started

1. Setup project skeleton

Use gonew to create a new project based on waterway:

$ gonew github.com/daqing/waterway example.com/foo/bar

Replace example.com/foo/bar with your real module name.

2. Setup local development environment

Create .env file

$ cp .env.example .env

This file defines a few environment variables:

  • WATERWAY_PG_URL the URL string for connecting to PostgreSQL
  • WATERWAY_PORT the port to listen on
  • WATERWAY_STORAGE_DIR the full path to store the uploaded files
  • WATERWAY_ASSET_HOST the CDN url for serving assets
  • APP_PWD the path to current working directory

About

The full-stack Go framework to build API and websites faster with ORM

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published