repositorypackage
0.4.9
Repository: https://github.com/nanernunes/scaffold.git
Documentation: pkg.go.dev
# README
Scaffold
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
- 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
- At the command prompt, create a new Scaffold application: (where
myapp
is the application name)
scaffold new myapp
- Change directory to
myapp
and start the web server:
cd myapp
make dev
-
Go to http://localhost:4000 and you'll see the Swagger documentation.
-
Under http://localhost:4000/index there is the default Index (controller/view) home page.
-
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.