Skip to content

zahraakarim/rendezvous-backend

 
 

Repository files navigation

Welcome to the backend of Rendezvous!

This project is about date ideas where this is the backend of an application that users can use to search for date ideas/events posted by other users. Information about each idea/event is provided within the app and the user can plan ahead by looking at these ideas. Additionally, users can create an account and also contribute to posting more date ideas and be part of the community. The application also has a unique maps feature where users can search a location and find all relevant date ideas as pins on the map. Clicking the pin expands with more information about that particular event/idea.

Below you will find information on what you need to do to get this project up and running after forking and clone the project.

First you should run npm i to download the dependencies.

ENDPOINTS:

URL for Backend Render: https://rendezvous-backend.onrender.com/

GET all users: /api/users GET user by id: /api/users/_id GET all user ideas: /api/user_ideas GET user idea by id: /api/user_ideas/_id GET user favourites: /api/user/favourites/:_id (_id here represents the user's id)

GET search events by locations: /api/search?location='your city' please refer to endpoints.json files for all valid sort_bys and orders

POST new user: /api/users POST new user idea: /api/user_ideas POST favourite to users favourite section: /api/user_ideas/favourites/:user_id/:_id (_id here represents the idea id)

DELETE user: /api/users/:username DELETE user idea: /api/user_ideas/:_id

PATCH user: /api/users/:username PATCH user idea: /api/user_ideas/:_id

Built using:

JS, Express, MongoDB, node, jest, SuperTest

Authors: Adil Jawaid, Joshua Marshall, Olivia Motevalli, Milosz Slezak, Zahraa Karim

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%