/fiber-boilerplate

A boilerplate for Fiber REST API.

Primary LanguageGo

Fiber REST API Boilerplate

A boilerplate for Fiber REST API.

What's included

  • SQLite3 database
  • GORM
  • JWT authentication
  • Middleware for authorization
  • Air for hot reloading

Usage

1. Clone the repository

git clone https://github.com/irfanalmsyah/fiber-boilerplate.git

2. Change directory

cd fiber-boilerplate

3. Install dependencies

go mod download

4. Create .env file

cp .env.example .env

5. Run the application

air

Server will be running on localhost:3000.

TODO

  • Tests
  • Docker
  • Endpoints documentation
  • Forgot password