Skip to content
matheuscaetPublic

About

Rest Api with Golang and MongoDb

Resources

Stars

2 stars

Watchers

1 watching

Forks

Latest commit

 

History

15 Commits

Folders and files

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

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages