All Projects → olegakbarov → Go Web Backend

olegakbarov / Go Web Backend

Dockerized backend services for web application

Programming Languages

go
31211 projects - #10 most used programming language
golang
3204 projects

Projects that are alternatives of or similar to Go Web Backend

Pitstop
This repo contains a sample application based on a Garage Management System for Pitstop - a fictitious garage. The primary goal of this sample is to demonstrate several software-architecture concepts like: Microservices, CQRS, Event Sourcing, Domain Driven Design (DDD), Eventual Consistency.
Stars: ✭ 708 (+1316%)
Mutual labels:  microservices, web-api
Docker Flask Mongodb Example
Uses docker compose with a python flask microservice and MongoDB instance to make a sample application
Stars: ✭ 49 (-2%)
Mutual labels:  influxdb, grafana
Piral
Framework for next generation web apps using microfrontends. 🚀
Stars: ✭ 711 (+1322%)
Mutual labels:  microservices, webapp
Monitoring
Monitor ESXi, Synology, Docker, PiHole and Raspberry Pi and Windows using Grafana, InfluxDB and Telegraf
Stars: ✭ 493 (+886%)
Mutual labels:  influxdb, grafana
Pgwatch2
PostgreSQL metrics monitor/dashboard
Stars: ✭ 960 (+1820%)
Mutual labels:  influxdb, grafana
Swagger Stats
API Observability. Trace API calls and Monitor API performance, health and usage statistics in Node.js Microservices.
Stars: ✭ 559 (+1018%)
Mutual labels:  microservices, grafana
Varken
Standalone application to aggregate data from the Plex ecosystem into InfluxDB using Grafana for a frontend
Stars: ✭ 829 (+1558%)
Mutual labels:  influxdb, grafana
Docker Statsd Influxdb Grafana
Docker Image with Telegraf (StatsD), InfluxDB and Grafana
Stars: ✭ 352 (+604%)
Mutual labels:  influxdb, grafana
Catalyst
Typescript NodeJS Microservices Boilerplate with Generator CLI - Moleculer, GraphQL, REST, OAuth2, Jaeger, Grafana, Prometheus, Ory Hydra, Ory Keto w/ Access Control middleware, Moleculer-DB GraphQL mixin, Pug, Redis, sibling client repo (login, persistance layer, react-native-web, ios, android)
Stars: ✭ 30 (-40%)
Mutual labels:  microservices, grafana
Unifiedmetrics
Fully-featured metrics collection agent for Minecraft servers. Supports Prometheus and InfluxDB. Dashboard included out-of-box.
Stars: ✭ 29 (-42%)
Mutual labels:  influxdb, grafana
Wizzy
Manage & automate Grafana with easy wizzy
Stars: ✭ 461 (+822%)
Mutual labels:  influxdb, grafana
Influx Crypto Trader
Node js trading bot, let you create trading strategy and run it (backtest/simulation/live)
Stars: ✭ 49 (-2%)
Mutual labels:  influxdb, grafana
Victoriametrics
VictoriaMetrics: fast, cost-effective monitoring solution and time series database
Stars: ✭ 5,558 (+11016%)
Mutual labels:  influxdb, grafana
Onboarding
A list of resources we at flyeralarm use to get new developers up and running
Stars: ✭ 648 (+1196%)
Mutual labels:  influxdb, grafana
Awesome Monitoring
INFRASTRUCTURE、OPERATION SYSTEM and APPLICATION monitoring tools for Operations.
Stars: ✭ 356 (+612%)
Mutual labels:  influxdb, grafana
Spring Petclinic Microservices
Distributed version of Spring Petclinic built with Spring Cloud
Stars: ✭ 814 (+1528%)
Mutual labels:  microservices, grafana
Hastic Server
Hastic data management server for analyzing patterns and anomalies from Grafana
Stars: ✭ 292 (+484%)
Mutual labels:  influxdb, grafana
Gokit
Go Examples: From basics to distributed systems
Stars: ✭ 325 (+550%)
Mutual labels:  microservices, influxdb
Docker Compose Grafana Influxdb
Demonstration scripts for running Grafana with InfluxDB as datasource.
Stars: ✭ 29 (-42%)
Mutual labels:  influxdb, grafana
Solarthing
Monitors an Outback MATE and a Renogy Rover - MPPT Charge Controller. Integrates with Grafana, PVOutput and more!
Stars: ✭ 33 (-34%)
Mutual labels:  influxdb, grafana

go-web-backend

Dockerized API service for web app

Prerequisites

  • Go
  • Docker

Start

Develop

TODO

ORM: https://upper.io/db.v2/examples

Ports cheatsheet

Inside containers:

1337 — frontend
3000 — grafana
6666 — postgres
8086, 8083 — influxdb
8080 — cadvisor
9999 — api

Exposed:

Linking containers caveats

links:
  - api:api

This creates environment variables in proxy container, with ip and port info for go container, also creates entries in /etc/hosts with ip info [other container]:[alias in this container]

volumes:
    - ./nginx.conf:/etc/nginx/nginx.conf:ro
  • Conntect host's ./nginx.conf with container's nginx.conf

  • :ro means read only perms in container

Docker tips

Run Docker image with port-forwarding: docker run -it -p 8080:8080 confsio_img

Inspect container's ENV variables: docker inspect -f "{{ .Config.Env }}" container-id

Copy file from container to host: docker cp <containerId>:/file/path/within/container /host/path/target

Docker Monitoring

https://www.brianchristner.io/how-to-setup-docker-monitoring/

$ Curls

edit :id & :user-id

curl -H "Content-Type: application/json" -X PUT -d '{ "name": "UPDATED CONF", "start_date": "2017-10-19T08:00:00Z", "end_date": "2017-10-22T08:00:00Z", "description": "yolo", "picture": null, "country": "USA", "city": "SF", "address": "Rodeo drive 1", "category": "big data", "tickets_available": false, "discount_program": false, "min_price": 0, "max_price": 100, "facebook": "", "youtube": "", "twitter": "", "details": {}, "id": :id, "added_by": :user-id}' http://localhost:9999/api/v1/conf/:id

create

curl -H "Content-Type: application/json" -X POST -d '{ "name": "CREATED!CONF", "start_date": "2017-10-19T08:00:00Z", "end_date": "2017-10-22T08:00:00Z", "description": "yolo", "picture": null, "country": "USA", "city": "SF", "address": "Rodeo drive 1", "category": "big data", "tickets_available": false, "discount_program": false, "min_price": 0, "max_price": 100, "facebook": null, "youtube": null, "twitter": null, "details": {}}' http://localhost:9999/api/v1/conf
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].