Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 909 Bytes

README.md

File metadata and controls

26 lines (18 loc) · 909 Bytes

ppsl-cd-api

Based* on @TomDoesTech's video titled Build a RESTful API with Fastify, Prisma & TypeScript.

* Partially

Libraries in use

  • Yarn - Package manager.
  • standard/standard - Code formatter & linter.
  • Fastify - Web server.
  • Prisma - TypeScript ORM.
  • Auth.js through authey & @next-auth/prisma-adapter - SSO authentication.
  • zod & fastify-zod - Request & response validation.
  • Lexical - WYSIWYG document editor, headless. For user input validation use only.

Setup

  • Node.js LTS recommended (Node.js 18.16.0 when this was written).
  • Yarn (Node.js >=16.10 (corepack) & Node.js >=18.6 (yarn@stable) installation steps).
  • yarn && yarn run prisma:db-push && yarn start
  • git submodule init && git submodule update

License

AGPL-3.0-only