Skip to content
This repository has been archived by the owner on Jul 10, 2020. It is now read-only.

wiasliaw/dcard-2020-apply-hw

Repository files navigation

dcard-2020-apply-hw

Prerequisites

  • yarn
  • node
  • docker

Description

Middleware for Rate Limit

Middleware places in src/middleware/rateLimit.ts.

Getting Started

mongodb setup

docker run --name mongo4 -d \
  -p 27017:27017 \
  -e MONGO_INITDB_ROOT_USERNAME=__USERNAME__ \
  -e MONGO_INITDB_ROOT_PASSWORD=__PASSWORD__ \
  mongo:latest

Run in development mode

yarn run dev

Run in production mode

yarn run start

Installing

yarn install --prod=false

Running the tests

Note: some of modules' tests are still missing.

yarn run test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published