- Cache API integration using Typescript, ExpressJS and MongoDB with Mongoose.
Rename .env.example
file to .env
Running docker compose will create API and MongoDB instances
docker compose up
# API Routes:
+--------+-------------------------+
Method | URI
+--------+-------------------------+
GET | /api/cache/
GET | /api/cache/:key
POST | /api/cache/:key
DELETE | /api/cache/:key
DELETE | /api/cache/
+--------+-------------------------+
This command will run tests (mongo-db container should be running)
npm run test