Skip to content

fg24davies/party-parrots-server

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend for Parrot Party

This is the server side for my makers final team project with @louballantyne, @cspoppuppy and completed over a 2 week period.


To run the app please go to the client side repo here and follow the README.


API

  • Built in Node.js with Express with MongoDB
  • The API is hosted on Heroku at [https://parrot-party-api.herokuapp.com]
  • To make an API request, append the endpoint from the routes below to the link above.
Endpoint Functionality Deployed
User Controller
POST /api/users Create new user ✔️
Sessions Controller
POST /api/sessions Create new session ✔️
DELETE /api/sessions/:sessionId Destroys the session ✔️
Upload Controller
POST /api/uploads Uploads photo ✔️
GET /api/uploads Returns photo ✔️
Parrot Controller
POST /api/parrots Create a new parrot listing ✔️
GET /api/parrots Return parrots ✔️
GET /api/parrot/:parrotId Return the parrot of :id ✔️
PATCH /api/parrots/:parrotId Update parrot geocode ✔️
Appplication Controller
POST /api/parrot/:parrotID/applications/ Create a new adoption application ✔️
GET /api/parrot/:parrotID/applications/ Return adoption applications ✔️
GET /api/parrot/:parrotID/applications/:applicationId Return the application with :id ✔️
PATCH /api/parrot/:parrotID/applications/:applicationId Update application as approved ✔️

Libraries used include:

  • aws-sdk
  • multer
  • multer-s3
  • uuid
  • mongoose for MongoDB

External APIs:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%