About | List API | Technologies | Requirements | Starting | License | Author
Describe your project
✔️ API user login;
✔️ API report transaction of merchant;
✔️ API report transaction of outlets;
The following tools were used in this project:
- Go Programming language;
- Fiber For Framework;
- Swaggo For API Documentation;
- Gorm For ORM;
- Ozzo Validation For validation request;
- Zap Logger For logging;
- Viper For configuration;
Before starting 🏁, you need to have Go installed.
# Clone this project
$ git clone https://github.com/bangadam/backend-test-majoo
# Access
$ cd backend-test-majoo
# Migrate Database with file `database.sql`
# Set Environment Variables with your own data, check on file config.yaml
server:
host: 127.0.0.1
port: 8080
secret_key: "secret"
mysql:
host: localhost
port: 3306
password:
user:
database:
# Install dependencies
$ go get ./...
# Run the project
$ go run cmd/api/main.go
# The server will initialize in the <http://localhost:${server.port}>
# Go to API Documentation in the <http://localhost:${server.port}/swagger/index.html>
This project is under license from MIT. For more details, see the LICENSE file.
Made with ❤️ by Muhammad Adam