kuzeofficial / golang-test-api

A simple API with CRUD made with Fiber⚡️ in Golang 🐨

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

golang-test-api

A simple API with CRUD made with Fiber⚡️ and Deta in Golang 🐨 Group 3

Starting

-> 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:

CleanShot 2023-02-05 at 20 58 28

About

A simple API with CRUD made with Fiber⚡️ in Golang 🐨


Languages

Language:Go 100.0%