Skip to content

jrmmendes/go-basic-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Sample API

This is a basic API made with go.

Setup

This project requires go 1.23+, node and make.

To run the development server, install air and pino-pretty for code reload and better log visualization:

go install github.com/air-verse/air@latest; npm i -g pino-pretty
npm i -g pino-pretty

Then, you can start the development server with the command make dev.

Useful commands

  • Start develpment server:
make dev
  • Run integration tests:
make test-integration
  • Clear temp files:
make clear
  • Build the application:
make build
  • Start the production server (you must generate a valid build before):
make start

About

Basic API setup using Fiber

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published