All Projects → koddr → tutorial-go-fiber-rest-api

koddr / tutorial-go-fiber-rest-api

Licence: MIT license
📖 Build a RESTful API on Go: Fiber, PostgreSQL, JWT and Swagger docs in isolated Docker containers.

Programming Languages

go
31211 projects - #10 most used programming language
Makefile
30231 projects
Dockerfile
14818 projects
shell
77523 projects

Projects that are alternatives of or similar to tutorial-go-fiber-rest-api

cache-lite
An extremely lite-weight cache framework in Kotlin, demonstrating how cache works.
Stars: ✭ 97 (-44.57%)
Mutual labels:  tutorials, tutorial-code, tutorial-sourcecode
Imageprocessing
MicaSense RedEdge and Altum image processing tutorials
Stars: ✭ 139 (-20.57%)
Mutual labels:  tutorials, tutorial-code
Thinkdiff
My open source project links, programming and software development related code and tutorials are in this repo. Content types: Python, JavaScript, Dart | Django, React, Flutter, React-Native etc.
Stars: ✭ 65 (-62.86%)
Mutual labels:  tutorials, tutorial-code
android-cuberto-dialog-design
This is an implementation inspired by beautiful design by Cuberto on his Dribble page, which can be found here https://dribbble.com/shots/3206606-Landing-page-wip
Stars: ✭ 15 (-91.43%)
Mutual labels:  tutorial-code, tutorial-sourcecode
Flutter Tutorials
The repo contains the source code for all the tutorials on the FilledStacks Youtube channel.
Stars: ✭ 4,115 (+2251.43%)
Mutual labels:  tutorials, tutorial-code
Opencl 101
Learn OpenCL step by step.
Stars: ✭ 43 (-75.43%)
Mutual labels:  tutorials, tutorial-code
Build Your Own X
🤓 Build your own (insert technology here)
Stars: ✭ 125,520 (+71625.71%)
Mutual labels:  tutorials, tutorial-code
Learningx
Deep & Classical Reinforcement Learning + Machine Learning Examples in Python
Stars: ✭ 241 (+37.71%)
Mutual labels:  tutorials, tutorial-code
godot-practice-shaders
Some practice shaders in Godot
Stars: ✭ 79 (-54.86%)
Mutual labels:  tutorials, tutorial-code
travis-ci-tutorial-java
Just to learn how to use travis-ci in a java project!
Stars: ✭ 38 (-78.29%)
Mutual labels:  tutorials, tutorial-code
UnityTutorials-RTS
The code for my series of tutorials on how to make a real-time stategy (RTS) game in the well-know Unity game engine (with C# scripting)!
Stars: ✭ 256 (+46.29%)
Mutual labels:  tutorials, tutorial-code
launchpad
Resources to get started in Quantum Computing!
Stars: ✭ 21 (-88%)
Mutual labels:  tutorials, tutorial-code
Monthly-App-Challenge-2022
Retos mensuales de la comunidad MoureDev para crear pequeñas aplicaciones en base a requisitos
Stars: ✭ 153 (-12.57%)
Mutual labels:  tutorials, tutorial-code
Python Beginner Programming Exercises
Practice your Python programming skills with this interactive and auto-graded set of exercises.
Stars: ✭ 47 (-73.14%)
Mutual labels:  tutorials, tutorial-code
fiber-boilerplate
This is the go boilerplate on the top of fiber web framework. With simple setup you can use many features out of the box
Stars: ✭ 184 (+5.14%)
Mutual labels:  fiber, fiber-framework
coding-notes
I'm compiling comprehensive coding tutorials for many different languages and frameworks! 🐲
Stars: ✭ 201 (+14.86%)
Mutual labels:  tutorials, tutorial-code
Tutorials
Step by step to learn coding and build Apps 🎉. Code files of Youtube & University tutorials.
Stars: ✭ 80 (-54.29%)
Mutual labels:  tutorials, tutorial-code
code with me
flutter app and code demos
Stars: ✭ 31 (-82.29%)
Mutual labels:  tutorials, tutorial-code
open-robotics
开源机器人学(Open Robotics)是一个帮助机器人学习者入门的开源项目。
Stars: ✭ 90 (-48.57%)
Mutual labels:  tutorials
example-vue-webpack
An example for vue and webpack
Stars: ✭ 29 (-83.43%)
Mutual labels:  tutorials

📖 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

fiber_cover_gh

Quick start

  1. Rename .env.example to .env and fill it with your environment values.
  2. Install Docker and migrate tool for applying migrations.
  3. 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)
  1. Go to your API Docs page: 127.0.0.1:5000/swagger/index.html

Screenshot

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.

Support author at LiberaPay

⚠️ License

MIT © Vic Shóstak & True web artisans.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].