a Golang REST API with Echo and GORM
Report Bug
·
Request Feature
.
Documentation
- FOLDER = camelCase
- FILE = snake_case
- FUNCTION = PascalCase
Projek Membuat REST API Golang dengan Framework Echo
Fitur:
- Register & Login
- CRUD User
- CRUD Kategori Produk
- CRUD Produk
- CRUD Shopping Cart
- CRUD Transaksi
Lama pengerjaan proyek ini adalah 1 Minggu
Berikut merupakan list teknologi yang digunakan dalam projek ini.
- Golang as Language
- Echo as Framework
- Golang Validation as Validator Field
- JWT Auth as Autentication
- Gorm as ORM
- Gin as Monitor Change Like Nodemon
- MySql as Database
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
This is an example of how to list things you need to use the software and how to install them.
- Install Golang, Mysql and Gin (simple method)
- Clone the repo (in Folder htdocs)
git clone https://github.com/ubaidillahhf/alterra-store.git
- Install module with get
go get
go mod tidy
- Run
go run main.go
// Or if u want to rerun every change
gin --all -i run main.go
- Access via url
localhost:port
See the open issues for a list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature'
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
Ubaidillahhf - @ubaidillahhf - ubaidillahhf@gmail.com
Project Link: https://github.com/ubaidillahhf/alterra-store
- MIT license
- Created by Ubaidillah Hakim Fadly and Hafidh Irsyad