Golang MVC style boilerplate using gin-gonic framework with gorm ORM.
-
Go to your
$GOPATH/src
and clone the directory usinggit clone https://github.com/thedevsaddam/orchid.git
or download the zip file -
Install dependency manager
govendor
using the command belowgo get -u github.com/kardianos/govendor
-
Go to the
$GOPATH/src/orchid/vendor
directory and install dependencies usinggovendor sync
command -
Copy
.env.example
to.env
and set your configurations. -
Run
go build
to build binary file and to start the application use./orchid
- Routing
- Model
- Views
- Controller
- Session
- Middleware
- CSRF protection
- Job Queue
- Caching
- Localization
- Helpers
- OAuth2 server
- Fixing inconsistent codes
- Request validation
- Add some helper function
- Security
- Find out performance issues
- Benchmarking
- Routing, session and templating gin-gonic
- Object-relational mapping gorm
- Dependency management package govendor
- Environment management package godotenv
As it is the very begining of Orchid boilerplate, we need a good amount for contribution from you. If you are interested to contribute please feel free to send pull request.
I am doing R&D with the project. Don't use it untill it is tagged.
The Orchid is a open-source software licensed under the MIT License.