All Projects → agalitsyn → go-app

agalitsyn / go-app

Licence: other
Go applications in one repository

Programming Languages

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

Labels

Projects that are alternatives of or similar to go-app

typeplate
REST API boilerplate with Typescript, Express.js, Typeorm and Mocha.
Stars: ✭ 268 (+1476.47%)
Mutual labels:  api-rest
mkm-sdk
Python SDK for Magickartenmarkt API
Stars: ✭ 33 (+94.12%)
Mutual labels:  api-rest
hlf1.4-supply-chain
Supply chain proof of concept in Hyperledger Fabric. Network with four companies and a specific chaincode exposed as rest API
Stars: ✭ 30 (+76.47%)
Mutual labels:  api-rest
robotframework-zoomba
Extended Robot Framework libraries to make testing GUI, REST/SOAP API, Mobile, and Windows Desktop easier.
Stars: ✭ 121 (+611.76%)
Mutual labels:  api-rest
Asher.Ai
Welcome to the API side of Asher, where all the language processing happens.
Stars: ✭ 20 (+17.65%)
Mutual labels:  api-rest
truthy
Open source headless CMS API written using NestJS, that has pre built modules like User Management, Role Management, Permission Management, Email Module, Account Settings, OTP, Throttling, RBAC support, Localization, and many more.
Stars: ✭ 200 (+1076.47%)
Mutual labels:  api-rest
DummyJSON
DummyJSON provides different types of REST Endpoints filled with JSON data which you can use in developing the frontend with your favorite framework and library without worrying about writing a backend.
Stars: ✭ 213 (+1152.94%)
Mutual labels:  api-rest
ExpressWebJs
ExpressWebJs is a Node FrameWork with expressive and organised syntax that runs on all major operating systems. It provides the starting point for creating your node project, allowing you to focus more on developing your amazing solution. It takes the pain out of development by easing common tasks (Environment Setup, Code Structure, Robust routi…
Stars: ✭ 58 (+241.18%)
Mutual labels:  api-rest
Deep-learning-model-deploy-with-django
Serving a keras model (neural networks) in a website with the python Django-REST framework.
Stars: ✭ 76 (+347.06%)
Mutual labels:  api-rest
KotlinReactiveMS
An educational project to learn reactive programming with Spring 5 and Kotlin
Stars: ✭ 33 (+94.12%)
Mutual labels:  api-rest
main
Mocks Server monorepo
Stars: ✭ 109 (+541.18%)
Mutual labels:  api-rest
ICMP-server
simple web app that use icmp protocol to check some devices if there are up or not
Stars: ✭ 16 (-5.88%)
Mutual labels:  api-rest
chappe
🧑‍💻 Developer Docs builder. Write guides in Markdown and references in API Blueprint. Comes with a built-in search engine.
Stars: ✭ 132 (+676.47%)
Mutual labels:  api-rest
open route service
An encapsulation made around openrouteservice API for Dart and Flutter projects. Made for easy generation of Routes and Directions on Maps, Isochrones, Time-Distance Matrix, Pelias Geocoding, POIs, Elevation and routing Optimizations using their amazing API.
Stars: ✭ 20 (+17.65%)
Mutual labels:  api-rest
AutoMeter-API
AutoMeter-API是一款针对分布式服务,微服务API功能和性能一体的自动化测试平台,一站式解决应用,服务,API,环境管理,用例,条件,测试场景,计划,测试报告,功能/性能测试兼容支持的一体化工作平台
Stars: ✭ 105 (+517.65%)
Mutual labels:  api-rest
instructions
Restful API microservice built with Golang and Gin
Stars: ✭ 25 (+47.06%)
Mutual labels:  api-rest
node-crudapi-ts
CRUD boilerplate for create Node Restful API's with Express Framework and Sequelize ORM written in Typescript.
Stars: ✭ 41 (+141.18%)
Mutual labels:  api-rest
express-ts-api-boilerplate
Express TypeScript API Boilerplate
Stars: ✭ 15 (-11.76%)
Mutual labels:  api-rest
chess.com
Python wrapper for Chess.com Published-Data API
Stars: ✭ 34 (+100%)
Mutual labels:  api-rest
API
API documentation for the Forecast platform
Stars: ✭ 24 (+41.18%)
Mutual labels:  api-rest

go-app

  • Ready for creating Go applications in one repository.
  • Includes example of RESTful API service, but you can add more service types, for example workers, consumers, etc.
  • Go 1.16 + docker + docker-compose - easy setup on own server. No CI server required, just make docker-export and scp to your server.

Repository structure

  • Structure supports multiple services:
    • Each service has own directory in cmd folder for main function, which typically consists of dependencies and service start.
    • Service logic with tests are in internal/app.
  • Shared packages are in internal/pkg.
  • Storage entities and interfaces are in internal/storage. Interfaces can have multiple implementations of storages types like internal/storage/{rdb,memory,kv,object,document}.
  • All applications build in one docker image for easy distribution, so you should define explicit command in docker-compose or in k8s files for each service.

Migrations

This template includes PostgreSQL connector, with tern migrator. Check migrations folder.

Quickstart

make docker-build
docker-compose up
make migrate

# test it
curl -i -X POST localhost:8080/1.0/articles --data '{"title": "New Book", "slug": "new-book"}'
curl -i -X GET localhost:8080/1.0/articles

Local development

cp .env.example .env.local
docker-compose up postgres
make migrate
make run

Testing

  • Service tests with mocked storages are in internal/app.
  • Storage tests are in internal/storage.

For testing postgres storages run docker-compose up postgres. Can be skipped with make test-short.

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].