koddr/tutorial-go-fiber-rest-api
Acerca de
📖 Crea una API RESTful con Go: Fiber, PostgreSQL, JWT y documentación de Swagger en contenedores Docker aislados.
Sistemas e infraestructuraCrecimiento de estrellas medido
- in 24h
- 0
- in 7 days
- 0
- in 15 days
- 0
- in 1 month
- Recopilando historial
Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.
README.md
Original📖 Tutorial: Build a RESTful API on Go
Fiber, PostgreSQL, JWT and Swagger docs in isolated Docker containers.
👉 The full article is published on March 22, 2021, on Dev.to: https://dev.to/koddr/build-a-restful-api-on-go-fiber-postgresql-jwt-and-swagger-docs-in-isolated-docker-containers-475j

Quick start
- Rename
.env.exampleto.envand fill it with your environment values. - Install Docker and migrate tool for applying migrations.
- Run project by this command:
make docker.run
# Process:
# - Generate API docs by Swagger
# - Create a new Docker network for containers
# - Build and run Docker containers (Fiber, PostgreSQL)
# - Apply database migrations (using github.com/golang-migrate/migrate)
- Go to your API Docs page: 127.0.0.1:5000/swagger/index.html

P.S.
If you want more articles like this on this blog, then post a comment below and subscribe to me. Thanks! 😘
And, of course, you can support me by donating at LiberaPay. Each donation will be used to write new articles and develop non-profit open-source projects for the community.
⚠️ License
MIT © Vic Shóstak & True web artisans.
Building:
Windows:
$ set CGO_ENABLED=0 && go build -ldflags="-w -s -X 'main.version=1.0.1'" .
Explorar proyectos relacionados
Cargando…
