Skip to content
No description, website, or topics provided.
JavaScript HTML
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
client
server
.gitignore
.prettierrc.json
LICENSE
README.md
example_env_file
index.js
knexfile.js
netlify.toml
package.json
yarn.lock

README.md

Refreshr App Backend (Lambda School Labs 10)

Refreshr Logo


Additional Documentation


Contributors


Endpoints

Teachers

  • GET /teachers
    • returns a list of all teachers

  • GET /teachers/id
    • returns one teacher by id

  • PUT /teachers/id
    • updates one teacher by id

  • DELETE /teachers/id
    • delete teacher by id

  • missing: POST

Students

  • GET /students
    • returns a list of all students

  • GET /students/id
    • returns one student by id

  • POST /students
    • adds a student

  • PUT /students/id
    • updates one student by id

  • DELETE /students/id
    • deletes student by id

Classes

  • GET /classes
    • returns a list of all classes

  • GET /classes/id
    • returns one class by id

  • POST /classes
    • adds a class

  • PUT /classes/id
    • updates one class by id

  • DELETE /classes/id
    • deletes class by id

Refreshrs

  • GET /refreshrs
    • returns a list of all refreshrs

  • GET /refreshrs/id
    • returns refreshr by id

  • POST /refreshrs
    • adds a refreshr

  • PUT /refreshrs/id
    • update refreshr by id

  • DELETE /refreshrs/id
    • delete refreshr by id

Questions

  • GET /questions
    • returns all questions

  • GET /questions/id
    • returns questions by id

  • POST /questions
    • adds a question

  • PUT /questions/id
    • update question by id

  • DELETE /questions/id
    • delete question by id

Billing

  • POST /billing/charge
    • Gives us your money.
You can’t perform that action at this time.