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.
Project Live link: https://pet-love-eight.vercel.app/
Live Server link: https://pet-adoption-plaform-a8.vercel.app
Frontend Repo: https://github.com/tauhid-hasan-dev/pet-love-client.git
Backend Repo: https://github.com/tauhid-hasan-dev/pet-love-backend.git
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
- Programming Language: TypeScript
- Web Framework: Express.js
- Database: PostgreSQL
- Object Relational Mapping (ORM): Prisma
- Authentication: JWT (JSON Web Tokens)
- 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.
- 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