Skip to content

reinaldosaraiva/go-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-api

First adventure using the GoLang programming language

Pre-requisites

Create a file named .env in the project's root directory with the following content below:

DB_DRIVER=postgres
DB_HOST=<hostname>
DB_PORT=5432
DB_USER=user
DB_PASS=password
DB_NAME=database
WEB_SERVER_PORT=8000
JWT_SECRET=secret
JWT_EXPIRES_IN=300

GO RUN

❯ go run cmd/server/main.go

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages