Skip to content

Repository for colony backend application for fan following

Notifications You must be signed in to change notification settings

Invotyx/colony-backend

Repository files navigation

Colony Backend APIs

Requirements

  1. NodeJS 14+
  2. Redis
  3. PostgreSQP

Setup

# clone repository
git clone <url>

# copy .env.example and adjust environment variables
cp .env.example .env

# Install Dependencies
npm install

# Build
npm run build

# start
npm run start

# To run in dev mode and hot reload
npm run start:dev

Run in Docker

# To build docker image
docker build -t colony-backend

# To run docker container
docker run -it --rm -p <port>:<port> --env-file $PWD/.env colony-backend

APIs

  TEST URL          GET   /api/app
  SEED VALUES       GET   /api/seed
  GET AuthToken     GET   /api/token

  LOGIN             POST  /api/auth/#

  Complete API Documentation https://documenter.getpostman.com/view/5721584/TW71jktC
  POSTMAN Import Link: https://www.getpostman.com/collections/9262d0fde52b759b3346
  SWAGGER COLLECTION https://colony.invotyx.gq/api/docs/

About

Repository for colony backend application for fan following

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages