Categorygithub.com/nanernunes/scaffold
repositorypackage
0.4.9
Repository: https://github.com/nanernunes/scaffold.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# README

Scaffold

Go version GoDoc license LoC codecov

Scaffold is a Golang framework that includes everything needed to create database-backed API applications.

Requirements

Frameworks and libraries

Scaffold comes with:

  • gorilla/mux, a powerful HTTP router and URL matcher for building Go web servers
  • swaggo/swag, automatically generate RESTful API documentation with Swagger
  • go-orm/gorm, the fantastic ORM library for Golang, aims to be developer friendly

Getting Started

  1. Install Scaffold at the command prompt:
sudo curl -L "https://github.com/nanernunes/scaffold/releases/latest/download/scaffold-$(uname -s)-$(uname -m)" -o /usr/local/bin/scaffold
sudo chmod +x /usr/local/bin/scaffold
  1. At the command prompt, create a new Scaffold application: (where myapp is the application name)
scaffold new myapp
  1. Change directory to myapp and start the web server:
cd myapp
make dev
  1. Go to http://localhost:4000 and you'll see the Swagger documentation.

  2. Under http://localhost:4000/index there is the default Index (controller/view) home page.

  3. Follow the guidelines to start developing your application:

Contributing

Contributions to Scaffold are welcome and appreciated. If you would like to contribute, please open an issue or submit a pull request.

License

Scaffold is licensed under the MIT License. See the LICENSE file for more information.