# README
mvcGo
💫 About
Inspired by Laravel, we aim to automate feature creation to make it faster and easier. Our approach includes using the MVC architecture with the Echo framework, Gorm, and other tools.
Our goal is to make it possible to create CRUD features in less than one minute. Additionally, a Dockerfile
, .gitignore
will also be generated.
🚀 Import
go get -u github.com/findryankp/mvcGo@latest
👨🏽💻 Step By Step
- First step, add this syntax to your
main function
inmain.go
file
mvcGo.Init()
- for example :
- Run this syntax in cmd/terminal
go run . init
- If successful, the following files will be generated:
- Database configuration files
- Middleware files (including JWT authentication, logging, and CORS)
- User authentication files (for login and registration)
- Environment files (.env) and Dockerfile
- And more
- Set
.env
with your own configuration database
🚀 Create new feature
- run this syntax in your cmd/terminal
go run . features FeaturesNames
- ex :
go run . features Rooms
- CRUD controller, model, route, and migratiton feature from your FeatureNames will be created
🎯 Run Project
go run .
- Try it with your postman or another