Skip to content

cindywongdev/give2learn-backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Give2Learn Backend

This is the API/backend for Give2Learn, a full CRUD app designed to provide refurbished laptops to schoolchildren in need. Built on a Express/Node backend (with a MongoDB) and Next.js frontend.

Technologies Used

Backend
  • Javascript
  • Express
  • Node
  • MongoDB
  • Trello

Models

erDiagram
    REQUEST {
        bigint  id
        string  deviceType-REQ
        bool    isPC
        string  modelType
        string  dimension
        int     quantityToRequest-REQ
    }
    DONATION {
        bigint  id
        string  firstName-REQ
        string  lastName-REQ
        email   email-REQ
        string  phoneNumber-REQ
        string  fromState-REQ
        string  fromCity-REQ
        string  address1-REQ
        string  address2
        int     zipcode-REQ
        string  deviceType-REQ
        bool    isPC-REQ
        string  brand-REQ
        string  modelType-REQ
        int     quantityToDonate-REQ
        bool    isPickup-REQ
        date    donateDate-REQ
    }

Backend Route Table

REQUESTS
Route Name URL HTTP Verb Description
Index /requests GET Displays list of requests
Show /requests/:id GET Shows a specific request
Create /request POST Adds new request to database
Update /request/:id PUT Updates a specific request
Delete /request/:id DELETE Deletes a specific request
DONATIONS
Route Name URL HTTP Verb Description
Index /requests GET Displays list of requests
Show /requests/:id GET Shows a specific request
Create /request POST Adds new request to database
Update /request/:id PUT Updates a specific request
Delete /request/:id DELETE Deletes a specific request

API

Deployed Backend Link (Donations)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published