verybluebot / echo-server-tutorial

this project is a part of youtube tutorial series for creating a web server in Golang using the Echo package

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Golnag Server using Echo Tutorials Series - Link

Sources for tutorial series on Youtube for creating a web server in Golang using the Echo Package.

Description

The Series will go through most of Echo features like requests types, CRUD, playing with headers, cookies Middlewares and more. Starting from the very basic 'hello world' and finishing with a full production server ready for a real life app.

Structure

Each part have a video and a branch of the end state, each next part starts on top of the one before it. master is the last published part.

Installation

Clone the project:

  git clone https://github.com/verybluebot/echo-server-tutorial.git

cd into it:

 cd echo-server-tutorial

define GOPATH: note: this is asuming you are inside the root of the project.

 echo GOPATH=`pwd` 

build binaries:

go install main

run the server:

bin/main

Note: if you want to use anything other the master aka the last publish part, switch to its branch and build binaries.

list all branches:

 git branch -a

checkout to the branch you want and build/run like before:

 git checkout part_1_hello_world

 go install main

 bin/main

About

this project is a part of youtube tutorial series for creating a web server in Golang using the Echo package


Languages

Language:HTML 38.0%Language:CSS 36.4%Language:Go 17.9%Language:JavaScript 7.6%