All Projects → tkc → go-echo-server-sandbox

tkc / go-echo-server-sandbox

Licence: other
A scaffold of golang web server using labstack/echo

Programming Languages

go
31211 projects - #10 most used programming language
HTML
75241 projects
Makefile
30231 projects

Projects that are alternatives of or similar to go-echo-server-sandbox

Echo
High performance, minimalist Go web framework
Stars: ✭ 21,297 (+177375%)
Mutual labels:  echo, labstack-echo
Felix
A Friendly SSH Jumper Bastion Fortress Server
Stars: ✭ 542 (+4416.67%)
Mutual labels:  scaffold, gorm
echo-gorm-realworld-app
realworld application built with Golang + Echo + Gorm
Stars: ✭ 18 (+50%)
Mutual labels:  echo, gorm
Echo Web
Go web framework Echo example. 在线演示☞迁移ing❌
Stars: ✭ 409 (+3308.33%)
Mutual labels:  echo, gorm
Logrus
Hooks for logrus logging
Stars: ✭ 110 (+816.67%)
Mutual labels:  echo, gorm
Goweibo
Go Weibo App
Stars: ✭ 243 (+1925%)
Mutual labels:  echo, gorm
Phalgo
phalgo 已经更换为 https://github.com/sunmi-OS/gocore phalgo不在维护
Stars: ✭ 110 (+816.67%)
Mutual labels:  echo, gorm
go-webapp-sample
golang, echo, gorm
Stars: ✭ 194 (+1516.67%)
Mutual labels:  echo, gorm
HydroJudge
The next generation judging system for Hydro (and vijos)
Stars: ✭ 33 (+175%)
Mutual labels:  sandbox
potd
A high scalable low to medium interactive SSH/TCP honeypot using Linux Namespaces, capabilities, seccomp, cgroups designed for OpenWrt and IoT devices.
Stars: ✭ 28 (+133.33%)
Mutual labels:  sandbox
phpkoa
PHP异步编程: 基于 PHP 实(chao)现(xi) NODEJS web框架 KOA。
Stars: ✭ 52 (+333.33%)
Mutual labels:  webserver
clean-gin
Implementation of clean architecture in Go, Gin with dependency injection.
Stars: ✭ 181 (+1408.33%)
Mutual labels:  gorm
Tablet-desk-clock
Software for displaying a clock on a tablet.
Stars: ✭ 24 (+100%)
Mutual labels:  web-app
rpi-nginx
[DEPRECATED] NGINX on Raspberry Pi / ARM
Stars: ✭ 20 (+66.67%)
Mutual labels:  webserver
Raspberry-Pi-Dashboard
Web-based dashboard interface to inspect Raspberry Pi hardware and software with no extra software required.
Stars: ✭ 131 (+991.67%)
Mutual labels:  web-app
OpenShapes
A data-driven approach for interactively synthesizing diverse images from semantic label maps.
Stars: ✭ 39 (+225%)
Mutual labels:  web-app
heartbeat
A service to keep a live heartbeat (ping) on multiple devices
Stars: ✭ 27 (+125%)
Mutual labels:  webserver
nested-set
Nested Set is an Go implementation of the Nested set model for Gorm.
Stars: ✭ 44 (+266.67%)
Mutual labels:  gorm
wordpress-scaffold
The scaffold for GRRR's WordPress Pro setup.
Stars: ✭ 16 (+33.33%)
Mutual labels:  scaffold
yagol
Yagol is a Conway's Game of Life sandbox game made with react. Customize the different options then create, share and watch your shapes evolve.
Stars: ✭ 31 (+158.33%)
Mutual labels:  sandbox

Go

go-echo-server-sandbox

echo server sandbox using ORM mapper and html template.

  • github.com/labstack/echo
  • github.com/jinzhu/gorm
  • github.com/pilu/fresh
  • github actions

Requirements

Go

$ brew install goenv
$ goenv install 1.13.x
$ goenv global 1.13.x
$ goenv rehash

Dependency

$ make dep

Install golangci-lint

$ brew install golangci/tap/golangci-lint
$ brew upgrade golangci/tap/golangci-lint

more...

Lint

$ golangci-lint run 

Database (MySQL) Config

note: cp config.yaml.example config.yaml

update database config

app: local
port: :8080

database:
  name: <database name>
  name: <user name>
  password: <user passWord>

Migration

$ go run ./migrate/migrate.go

Serve and Hot Reload

$ fresh

Create New User

$ curl http://localhost:8080/user \
  -X POST \
  -H "Content-Type: application/json" \
  -d '{"Name": "userName","Age": 1}'

Testing

$ go test ./...
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].