Skip to content

hansputera/ngl.link-api

Repository files navigation

Ngl.Clone API

I just want to make my own ngl.link, and learn how they works.

Installation

You need to install Golang first! Then

  git clone https://github.com/hansputera/ngl.link-api
  cd ngl.link-api

  go mod download

Run Locally

Build the source code

  go build

Run it

  ./nglapi

Environment Variables

To run this project, you will need to add the following environment variables to your .env file

JWT_SECRET Fill it with random chars

REDIS_URI Fill it with your redis connection URI

License

MIT