25 lines
484 B
Markdown
25 lines
484 B
Markdown
# ETA API v2
|
|
|
|
This is the second generation of the ETA API developed on GoLang using OpenAPI to auto document and generate api endpoints.
|
|
|
|
# OpenApi Generator
|
|
|
|
With the following command the generator tool can be installed
|
|
|
|
```.{sh}
|
|
go install github.com/deepmap/oapi-codegen/cmd/oapi-codegen@latest
|
|
```
|
|
|
|
|
|
|
|
# Deployment
|
|
|
|
The details on how to deploy are described here
|
|
|
|
## DOTENV
|
|
|
|
```{.sh}
|
|
SQL_DSN="{USER}:{PASS}@tcp({HOST}:{PORT})/{DB}?charset=utf8mb4&parseTime=true&loc=Local"
|
|
```
|
|
|