steven-haddix / pass-the-pie-api

Simple NestJS service for a pie based APIs!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Nest Logo

Description

A simple Rest API for giving and receiving pie based currencies. Written in NodeJS/NestJS/TypeORM.

Running the app

Currently, the preferred way to develop the app is via docker compose. All of the configuration files are setup to point to docker resources. The app can be ran and developed locally, but you will need to change the .env and ormconfig.json to point to localhost instead of postgres.

# development
$ docker compose up

Resources/Ports

Resource Port
REST API :3001/api
Swagger Docs :3001/docs

TODO

  • Document running TypeORM commands in Docker
  • Document Postgres migration/init processes
  • Publish swagger docs to Github Page
  • Complete data model for use scoring
  • Implement teams/groups
  • Auth at some point?

Test

# unit tests
$ npm run test

# e2e tests
$ npm run test:e2e

# test coverage
$ npm run test:cov

About

Simple NestJS service for a pie based APIs!


Languages

Language:TypeScript 93.0%Language:JavaScript 3.1%Language:Dockerfile 2.0%Language:Shell 1.9%