GitXplorerGitXplorer
p

ayamese_backend

public
0 stars
0 forks
0 issues

Commits

List of commits on branch main.
Unverified
28fc12c0175760901a8b7138cc71d50b56dd4932

FIXED: README.md for containerized build

pprakhargupta-jan committed a year ago
Unverified
f0a78ac27fd1904a23cb1b831fc3d224a6c354e7

ADDED:Containerized Dev and Prod builds FIXED:Typo in shortlistedController.js

pprakhargupta-jan committed a year ago
Unverified
2ac048f9173d10ef1bdd6ebc041582dbe2c9c598

ADDED: CORS policy

pprakhargupta-jan committed a year ago
Unverified
22923f34d5966e40ecdfc0709d2765fbef144808

FIXED: Wrong status in listings controller AND ADD: README.md

pprakhargupta-jan committed a year ago
Unverified
cd2f8eb60b2565502275833ed6b2171f6b32707e

first commit

pprakhargupta-jan committed a year ago

README

The README file for this repository.

Ayamese Backend

This is the backend for the exmpty cup assignment. It's built with Node.js, Express, and MongoDB.

Features

  • RESTful API for managing listings
  • Shortlisting functionality
  • Integration tests with Jest

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development, testing purposes and production build.

Prerequisites

  • Node.js
  • Yarn
  • MongoDB

Setting up

  • Clone github repo

    git clone https://github.com/prakhargupta-jan/ayamese_backend.git

To start development server, run:

docker compose up

To start deployment server.

docker compose -f './docker-compose.prod.yml up 

API Endpoints

  • GET /listings: Get all listings
  • POST /shortlisted/:id: Toggle shortlisted status of a listing
  • GET /shortlisted: Get all shortlisted listings

Built With

  • Node.js - JavaScript runtime
  • Express - Web application framework
  • Mongoose - MongoDB object modeling for Node.js
  • Jest - Testing framework