Skip to content

Trello-like REST API written in TypeScript with NestJS, PostgreSQL, Prisma

Notifications You must be signed in to change notification settings

amozebus/testtrellorestapi

Repository files navigation

Test Trello REST API

code style: prettier

Trello-like REST API written in TypeScript using NestJS, PostgreSQL, Prisma

Authentication with JWT access tokens

How to launch (execute in root of repository destination)

  1. Install dependencies:
npm i
  1. Rename .env.example to .env and fill fields:
mv .env.example .env
  • .env fields:

    SECRET_KEY: secret for JWT tokens signature
    
    ACCESS_TOKEN_EXPIRE: access tokens expiry with time literal (e.g. 300s or 5m)
    
    DATABASE_URL: database URL
    
  1. Run DB migrations:
npm run migrate

Misc

npm run reset

About

Trello-like REST API written in TypeScript with NestJS, PostgreSQL, Prisma

Resources

Stars

Watchers

Forks