A simple API with CRUD made with Fiber⚡️ and Deta in Golang 🐨
-> to use this server is needed install dependencies with the command
go mod tidy
-> you need add your env variables to a file .env
in root directory with the example of variable showed in the file .env.development
assigned, for this example i use Deta this is a free service cloud with a lot of integrations and good features:
DETA_PROJECT_KEY=XXX
DETA_BASE_NAME=XXX
-> then you will need go to cmd/
and execute:
go run main.go
-> then you can go to Postman or any client http and send a request to the endpoints declared in main.go
example: