Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 587 Bytes

README.md

File metadata and controls

19 lines (15 loc) · 587 Bytes

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.