Restful application for the Menu system. Complete administration system for restaurants and digital menu.
This project uses the Go programming language (Golang) and the PostgreSQL database engine.
PostgreSQL is required in version 9.6 or higher and Go at least in version 1.12
The following dependencies are required:
-
github.com/go-chi/chi
-
github.com/go-chi/cors
-
github.com/go-chi/jwtauth
-
github.com/dgrijalva/jwt-go
-
github.com/jinzhu/gorm
-
github.com/joho/godotenv
-
github.com/mailjet/mailjet-apiv3-go
-
github.com/sethvargo/go-password
-
github.com/stretchr/testify
-
golang.org/x/crypto
-
gopkg.in/olahol/melody.v1
go get github.com/go-chi/chi
go get github.com/go-chi/cors
go get github.com/go-chi/jwtauth
go get github.com/dgrijalva/jwt-go
go get github.com/jinzhu/gorm
go get github.com/joho/godotenv
go get github.com/mailjet/mailjet-apiv3-go
go get github.com/sethvargo/go-password
go get github.com/stretchr/testify
go get golang.org/x/crypto
go get gopkg.in/olahol/melody.v1
go build ./cmd/menuxd
go test ./...
Clone the repository
git clone git@gitlab.com:menuxd/api-rest.git
Enter the repository folder
cd api-rest
Build the binary
go build ./cmd/menuxd/
Run the program
# In Unix-like OS
./menuxd
# In Windows
menuxd.exe
# Debug Mode in Unix-like OS
./menuxd -debug
# Debug Mode in Windows
menuxd.exe -debug
- chi - lightweight, idiomatic and composable router for building Go HTTP services.
- gorm - The fantastic ORM library for Golang.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Orlando Monteverde - Initial work - orlmonteverde
See also the list of contributors who participated in this project.