This project will serve as an API intermediary between the EasySlip service and users. Its role is to filter whether a slip's data has been read or not. If it has been read, it will respond with the existing data in the database to reduce unnecessary service costs for EasySlip. Additionally, there will be caching implemented to speed up responses if this slip has been read before.
- Clone this project following the installation instructions.
- Set the API port, MongoDB URL, and EasySlip API key in the .env file.
- Install all the necessary packages.
- Run the program.
# Clone project
$ git clone https://github.com/jumpogpo/easy-slip-proxy-api.git
$ cd easy-slip-proxy-api
# Install packages
$ pnpm i
# Generate prisma
$ pnpm prisma generate# run
$ pnpm start
# build
$ pnpm build
# dev
$ pnpm start:dev- Run the application.
- Open the API documentation URL: http://localhost:3000/docs.
- NestJS - https://nestjs.com/
- Prisma - https://www.prisma.io/
- EasySlip - https://easyslip.com/
- MongoDB https://www.mongodb.com/