golang-echo-realworld-example-app

Exemplary real world backend API built with Golang + Echo

Github星跟蹤圖

RealWorld Example App

Golang/Echo codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld spec and API.

Demo    RealWorld

Build Status

This codebase was created to demonstrate a fully fledged fullstack application built with Golang/Echo including CRUD operations, authentication, routing, pagination, and more.

Getting started

Install Golang (go1.11+)

Please check the official golang installation guide before you start. Official Documentation
Also make sure you have installed a go1.11+ version.

Environment Config

make sure your ~/.*shrc have those variable:

➜  echo $GOPATH
/Users/xesina/go
➜  echo $GOROOT
/usr/local/go/
➜  echo $PATH
...:/usr/local/go/bin:/Users/xesina/test//bin:/usr/local/go/bin

For more info and detailed instructions please check this guide: Setting GOPATH

Clone the repository

Clone this repository:

➜ git clone https://github.com/xesina/golang-echo-realworld-example-app.git

Or simply use the following command which will handle cloning the repo:

➜ go get -u -v github.com/xesina/golang-echo-realworld-example-app

Switch to the repo folder

➜ cd $GOPATH/src/github.com/xesina/golang-echo-realworld-example-app

Install dependencies

➜ go mod download

Run

➜ go run main.go

Build

➜ go build

Tests

➜ go test ./...

主要指標

概覽
名稱與所有者xesina/golang-echo-realworld-example-app
主編程語言Go
編程語言Go (語言數: 3)
平台
許可證MIT License
所有者活动
創建於2018-05-07 10:23:11
推送於2022-04-07 14:30:34
最后一次提交2022-04-07 16:30:31
發布數1
最新版本名稱v0.1.0 (發布於 )
第一版名稱v0.1.0 (發布於 )
用户参与
星數517
關注者數14
派生數129
提交數105
已啟用問題?
問題數7
打開的問題數0
拉請求數8
打開的拉請求數1
關閉的拉請求數1
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?