Skip to content

gokertanrisever/cache-api

Repository files navigation

Cache API

  • Cache API integration using Typescript, ExpressJS and MongoDB with Mongoose.

Usage

Rename .env.example file to .env

Running docker compose will create API and MongoDB instances

docker compose up

List of Routes

# API Routes:

+--------+-------------------------+
  Method | URI
+--------+-------------------------+
  GET    | /api/cache/
  GET    | /api/cache/:key
  POST   | /api/cache/:key
  DELETE | /api/cache/:key
  DELETE | /api/cache/
+--------+-------------------------+

Testing

This command will run tests (mongo-db container should be running)

npm run test

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published