server

module
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 13, 2022 License: MIT

README

server

stegoer-server deployment Continuous Integration pre-commit.ci status Go Reference Go Report Card

Server is using Go, Postgres, GraphQL and Redis.


Server endpoint: https://stegoer-server.herokuapp.com/

Development documentation: https://github.com/stegoer/server/blob/main/README.md

Reference documentation: https://stegoer.github.io/client

Source code: https://github.com/stegoer/server


Installation

Install instructions
  1. Install Go https://go.dev/doc/install
  2. Install PostgreSQL https://www.postgresql.org/download/
  3. Install Redis https://redis.io/docs/getting-started/
  4. Clone this repository
git clone git@github.com:stegoer/server.git
  1. Install dependencies
go get ./...
Create the .env file

Create a .env file and copy the contents of .env.example file into the .env file

cp .env.example .env
Initialize database
make db-init

Development

Dev server
make dev
Redis server
redis-server
Make
make help

Contributing

pre-commit install

License

Developed under the MIT license.

Directories

Path Synopsis
cmd
makemigrations command
server command
ent
pkg
cryptography
Package cryptography provides symmetric authenticated encryption using 256-bit AES-GCM with a random nonce.
Package cryptography provides symmetric authenticated encryption using 256-bit AES-GCM with a random nonce.
infrastructure/apq
Package apq implement the graphql.Cache interface which is used for automatic persisted queries.
Package apq implement the graphql.Cache interface which is used for automatic persisted queries.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL