Skip to content

gelerum/artpaper

Repository files navigation

Artpaper

REST API of site with articles

Stack

  • Go with gin
  • PostgreSQL
  • Redis
  • Docker

Running

Set environment variables in .env file

GIN_MODE=debug
APP_PORT=8080
JWT_SIGN_KEY=
PASSWORD_SALT=

POSTGRES_HOST=db
POSTGRES_PORT=5432
POSTGRES_DB=
POSTGRES_USER=
POSTGRES_PASSWORD=

TOKEN_STORAGE_HOST=token_storage
TOKEN_STORAGE_PORT=6379
TOKEN_STORAGE_PASSWORD=

CACHE_HOST=cache
CACHE_PORT=6379
CACHE_PASSWORD=

Clone

git clone https://github.com/gelerum/artpaper.git

Build containers

cd artpaper
docker-compose build

Up containers

docker-compose up

Documentation

For documentation open 0.0.0.0:8080/swagger/index.html in browser while running.

License

Usage is provided under the MIT License. See LICENSE for the full details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages