This is the backend for the exmpty cup assignment. It's built with Node.js, Express, and MongoDB.
- RESTful API for managing listings
- Shortlisting functionality
- Integration tests with Jest
These instructions will get you a copy of the project up and running on your local machine for development, testing purposes and production build.
- Node.js
- Yarn
- MongoDB
-
Clone github repo
git clone https://github.com/prakhargupta-jan/ayamese_backend.git
docker compose up
docker compose -f './docker-compose.prod.yml up
-
GET /listings
: Get all listings -
POST /shortlisted/:id
: Toggle shortlisted status of a listing -
GET /shortlisted
: Get all shortlisted listings