3 ms·
Hi, This is the very beginning of this series. As the first step, we are going to discuss about “How to build a Dockerized RESTful API application using Go”.
by dumindunuwan 7y ago
Hi,
This is the very beginning of this series. As the first step, we are going to discuss about “How to build a Dockerized RESTful API application using Go”.
In this post, we are discussing,
1. Creating a new Go project.
2. Adding initial HTTP server.
3. Adding initial Docker files.
4. Adding initial configurations.
5. Adding Chi router.
6. Adding Zerolog logger.
7. Adding DB docker file.
8. Adding initial database migrations.
9. Adding GORM.
10. Adding initial books API routes.
11. Implementing RESTful handlers.
12. Adding Validator.v9.
The completed project can be found in https://github.com/learning-cloud-native-go/myapp https://github.com/learning-cloud-native-go/myapp repository. And I’ll upload the same content to https://learning-cloud-native-go.github.io/ https://learning-cloud-native-go.github.io/ which uses Docusaurus in the upcoming days. Hope it will be more structured and easy to see the big picture.
Also, I am not a native English speaker. So, if you found any mistake or something I need to be changed, even a spelling or a grammar mistake, please let me know.
⭐ Contribute! : https://github.com/learning-cloud-native-go/website https://github.com/learning-cloud-native-go/website and https://github.com/learning-cloud-native-go/myapp https://github.com/learning-cloud-native-go/myapp
⭐ Buy me a coffee! : https://www.buymeacoffee.com/dumindu https://www.buymeacoffee.com/dumindu
⭐ Hire me! : https://github.com/dumindu/hire-me/ https://github.com/dumindu/hire-me/
Thanks