Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/bimaagung/cafe-reservation

Project learning go, this concept is case simulation table resevation and order menu in cafe
https://github.com/bimaagung/cafe-reservation

apm-server clean-architecture gin gorm jwt minio postgres redis swagger testify

Last synced: about 2 hours ago
JSON representation

Project learning go, this concept is case simulation table resevation and order menu in cafe

Awesome Lists containing this project

README

        

## Cafe Reservation
Mini project which focus for development application cafe shop, which is the application is used for customer can table reservation and order menus in the cafe shop.
Another feature on application is can manage menus, customer and can see transactions which is running.


## ๐Ÿ” Entity Relationship Diagram



## ๐Ÿ› ๏ธ Installation Steps

### Installation project

clone project
``` bson
git clone https://github.com/bimaagung/cafe-reservation.git
```

running app
```bson
make run
```


## ๐Ÿงช Testing
- Test Coverage
```bson
go test -v ./... -coverprofile profile.out
```
```bson
go tool cover -func profile.out // per function
```
```bson
go tool cover -html profile.out // view html
```


## ๐Ÿ“ Project Structure

```
+---.vscode
+---bin
+---database
| \---migration
+---menu
| +---controller
| +---domain
| +---mocks
| +---repository
| | +---minio
| | +---postgres
| | \---redis
| +---usecase
| \---validation
+---middleware
| \---authorization
+---pkg
| +---dotenv
| +---minio
| +---postgres
| \---redis
+---user
| +---controller
| +---domain
| +---mocks
| +---repository
| \---usecase
\---utils
+---exception
+---response
\---token_manager
```

## ๐Ÿ’ป Built with

- Golang
- Fiber
- Postgres
- Gorm
- JWT Auth
- Testify
- APM ELK