Skip to content

This project acts as a middleware API between EasySlip and users. It filters slip data, responding with existing database data if read, reducing costs. Caching speeds up responses for previously read slips.

Notifications You must be signed in to change notification settings

jumpogpo/easy-slip-proxy-api

Repository files navigation

EasySlip Logo

👋 Description

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.

📝 How to use?

  • 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.

📚 Installation

# 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

📺 Running the app

# run
$ pnpm start

# build
$ pnpm build

# dev
$ pnpm start:dev

▶️ How to use

🤝 Reference

About

This project acts as a middleware API between EasySlip and users. It filters slip data, responding with existing database data if read, reducing costs. Caching speeds up responses for previously read slips.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published