Skip to content

felipekm/go-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-api

This is an API written in Go with JWT and MongoDB support to help developers build their own API.

Installation

  • Make sure you have go1.18+ installed.
  • Fork this repository.
  • Clone the repository: git clone [email protected]:your_account/go-api.git
  • Install the dependencies: go mod tidy
  • Configure the .env file with your MongoDB remote serverMONGODB_URL URL and database name DB_NAME.

Usage

You can run it using the following command:

go run main.go

Debugging

This project is configured to debug using vs code, just hit F5 to start the server.

About

⚙️ API with JWT and MongoDB integration

Topics

Resources

Stars

Watchers

Forks