Skip to content

Backend of Puroviva App built with Hapi, Prisma, TypeScript, Jest, Docker and PostgreSQL

Notifications You must be signed in to change notification settings

solocao/dinoeatlife-backend

 
 

Repository files navigation

Dino Eat Life Logo

Dino Eat Life - Backend

The backend of Dino Eat Life is a Node.js API built with

Database Schema

All tables for data entities are created withing prisma/schema.prisma using Prismas declarative language for data modeling. The data model though pretty stable is still subject to changes in development.

Routes

The API provides a documentation which can be accessed via http://<base_url>/documentation. The documentation is generated with Hapi-Swagger

  • /home to fetch data related to the authenticated user and their family members or flat mates
  • /posts for CRUD operations on users' posts
  • /profile to fetch a users profile (public) or CRUD by the authenticated user
  • /register to register users
  • /login to login users and return JWTs
  • /validate to verify email token for email verification (still in development)

About

Backend of Puroviva App built with Hapi, Prisma, TypeScript, Jest, Docker and PostgreSQL

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 90.5%
  • HTML 9.3%
  • Other 0.2%