/excali-api

Main Back-end service

Primary LanguageTypeScriptApache License 2.0Apache-2.0

Nest Logo

Description

ExcaliStudio Back-End repository

Installation

$ pnpm install

Running the app

# development
$ pnpm run start

# watch mode
$ pnpm run start:dev

# production mode
$ pnpm run start:prod

Test

# unit tests
$ pnpm run test

# e2e tests
$ pnpm run test:e2e

# test coverage
$ pnpm run test:cov

Auth flow

  1. http://localhost:3000/api/auth/google/login
  2. http://localhost:3000/api/auth/status
  3. http://localhost:3000/api/user/me

Entities

Default DB config

  • DB type: postgres
  • host: localhost
  • name: excali_studio
  • username: excali_studio
  • password: excali_studio