Skip to content

example rest api using express on typescript using token bucket algorithm and add midtrans official SDK on boot or setup

Notifications You must be signed in to change notification settings

huzairuje/express-postgresql-midtrans

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

README

Description

this repository basically implementing limiter rate (Token Bucket Algorithm) and cache (CQRS pattern) on javasscript using expressjs http framework (https://expressjs.com/), postgresql and redis and add midtrans client sdk.

Install PreRequisite

  1. run npm start to install or up or run the postgres container and redis container.
  2. make sure the docker postgres or container postgres is running and make database on the postgres container with name test_cache_cqrs and run the sql script on the directory migrations
  3. make sure redis container is up and running
  4. make sure the config on config.local.yaml is correct

How to Run Locally

npm start

About

example rest api using express on typescript using token bucket algorithm and add midtrans official SDK on boot or setup

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published