View Code? Open in Web Editor
NEW
This project forked from upgradeskill/fp2022-majoo-go
fp2022-majoo-go created by GitHub Classroom
Go 98.30%
Dockerfile 1.70%
fp2022-majoo-go's Introduction
- Clone repository
- Import file
mini-pos.sql
ke database
- Import file
golang mini pos.postman_collection.json
ke postman
- Buat file
.env
sejajar dengan file .env.example
- Sesuaikan konfigurasi yang terdapat pada file
.env.example
- Jalankan perintah
- Masuk ke folder
- Jalankan perintah
- Server akan berjalan pada
http://localhost:9000
![Screen Shot 2022-08-11 at 14 13 27](https://user-images.githubusercontent.com/34295173/184086772-9a3e8fb9-5be7-4f0a-bf99-7443562704fc.png)
- User
- POST login
- POST register
- POST user/store
- GET user
- GET user/show/:id
- PUT user/update/:id
- DELETE user/delete/:id
- Outlet
- POST outlet/store
- GET outlet
- GET outlet/show/:id
- PUT outlet/update/:id
- DELETE outlet/delete/:id
- Category
- POST category/store
- GET category
- GET category/show/:id
- PUT category/update/:id
- DELETE category/delete/:id
- Product
- POST product/store
- GET product
- GET product/show/:id
- PUT product/update:id
- DELETE product/delete/:id
- Transaction
- POST transaction/store
- GET transaction
- GET transaction/show/:id
- PUT transaction/update/:id
- DELETE transaction/delete/:id
fp2022-majoo-go's People
Contributors