Skip to content

This is a pet adoption platform aiming to create a great user experience for individuals interested in adopting pets.

Notifications You must be signed in to change notification settings

tauhid-hasan-dev/pet-love-backend

Repository files navigation

Pet Love Server

A pet adoption platform by Tauhid Hasan

This is a pet adoption platform aiming to create a great user experience for individuals interested in adopting pets. Users can submit adoption requests to pet owners. Owners will then have the option to approve or reject these requests. After submitting a request, users can update the request information. Users will be verified using JSON Web Tokens.

Youtube Presentation: https://youtu.be/coFm3dZChxE


Admin Credential

email: admin@petlove.com
password: 123456

User Credentials

email: user@petlove.com
password: 123456
email: user-one@petlove.com
password: 123456
email: user-two@petlove.com
password: 123456
email: user-three@petlove.com
password: 123456

Technology Stack:

  • Programming Language: TypeScript
  • Web Framework: Express.js
  • Database: PostgreSQL
  • Object Relational Mapping (ORM): Prisma
  • Authentication: JWT (JSON Web Tokens)

Topics are covered in this Project:

  • Data validation with Prisma ORM
  • Authentication with json web token
  • CRUD operations(Pet, Adoption request, User)
  • Error Handling using zod error.
  • Routing with express router.

To run this project locally, follow theese instructions

  • You should have postgreSQL installed in your computer
  • take a look at the .env.example file to replace your own credintials
  • Import the postman collection to the postman to test the apis

Clone this repository in your machine

git clone https://github.com/tauhid-hasan-dev/pet-love-backend.git

Install yarn for node_modules

yarn install

Run the project

yarn run dev

The connect the project to the database

npx prisma migrate dev

To connect to the database

npx prisma studio

About

This is a pet adoption platform aiming to create a great user experience for individuals interested in adopting pets.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published