Skip to content

CristhoperDev/go-echo-jwt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Golang using echo and jwt

Sources for creating a web server in Golang using the Echo Package.

Description

Starting to create a project with connection to database to use echo and jwt

Structure

.
├── cmd                  main applications of the project
│   └── GolangApi        the API server application
├── internal             private application and library code
│   ├── connection       connection to dabase
│   ├── dao              Data Access Object
│   ├── handler          controller 
│   ├── models           entity definitions
│   └── utils            utilities to use
└── database

Installation

Clone the project:

 git clone https://github.com/CristhoperDev/go-echo-jwt.git

cd into it:

 cd go-echo-jwt

cd into database:

 cd database

upload database:

 Upload database on mysql

generate executable:

 cd cmd/GolangApi
 go build 

run the server:

 go run ./GolangApi/

About

Testing golang using echo for jwt

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published