Skip to content

matheuscaet/go-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-api

RestApi with golang MongoDB

📋 Technologies

Used technologies:

🔧 Intalation

# Clone this repo
$ git clone https://github.com/matheuscaet/go-api.git

# Access project folder
$ cd go-api

Create a file as .env and insert the environment variables.

You must to use this variables:

Variable Value
API_PORT 3001
MONGOURI mongodb+srv://(USER):(PASS)@cluster0.h5mtb.mongodb.net
API_KEY anyApiToken

🎲 Running

# Exec application
$ go run main.go

About

Rest Api with Golang and MongoDb

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages