/example-fastify-firebase-backend

Example NodeJS, Fastify, Firebase Admin and TypesScript backend application. Frontend project available here: https://github.com/NathanielBrewer/example-react-axios-frontend

Primary LanguageTypeScript

Example NodeJS, Fastify, Firebase Admin, TypeScript project

Live demo available at https://nathanielbrewer.github.io/example-react-axios-frontend/

Stack

  • Framework: Fastify
  • Build: Node/TypeScript
  • Deployed to: Heroku dyno
  • Language: TypeScript
  • Database: Firebase

Routes

  • POST /text: Add text to database and return UID
  • GET /text/:id: Retrieve text by UID
  • POST /file: Add file and return unique filename
  • GET /file/:filename: Retrieve file buffer by unique filename