VN Gateway
This project is a gateway for the VN project. It is responsible for handling all the incoming requests and routing them
to the appropriate services. It also handles the authentication and authorization of the requests. The gateway is built
on top of the Go programming language and uses the Fiber framework.
Project structure
The project follows the standard Go project layout. The structure of the project is as follows:
.
├── .github # GitHub actions workflows
├── .golangci.yml
├── Dockerfile
├── Makefile
├── README.md
├── cmd
│ └── gateway
│ └── main.go
├── docs
├── go.mod
├── go.sum
├── internal
│ ├── config
│ ├── middleware
│ ├── models
│ ├── routes
│ ├── service
│ ├── tools
│ └── utils
├── scripts
└── test
Prerequisites installation
Prepare the environment
- Run
npm run install
to install the project dependencies
⚠️ Pre-commit ⚠️
Make sure you have already run make lint
before committing your code. This will ensure that your code is
properly formatted and passes all the tests.