Skip to content

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

Notifications You must be signed in to change notification settings

kuzeofficial/golang-test-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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