Skip to content

M15t/gram

Repository files navigation

GRAM

Inspired by the legendary Norse sword Gram, this Golang project wields the power of simplicity and precision. A versatile tool for crafting robust and efficient applications with mythical coding prowess.

Prerequisites

Getting started

  1. Initialize the app for the first time:
    make provision
    
  2. Generate swagger API docs:
    make specs
    
  3. Run the development server:
    make start
    

The application runs as a HTTP server at port 8083. You can log in as superadmin to the application by:

Then grab the access_token for authorization HTTP header:

GET /v1/... HTTP/1.1
Host: localhost:8081
Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ...

Deployment

make deploy