Use this Bob's Burgers API to get information about your favorite characters and their best quotes or to add, update, or delete characters and quotes.
Link to deployed API to use with Postman (there is no front end).
- Clone the repository with:
git clone https://github.com/kangjoa/api-project.git
- Install dependencies:
npm install
- Run the server in development mode:
nodemon server
Users must sign up and log in with a valid username and password in order to use the API.
Method | Endpoint | Purpose |
---|---|---|
POST | /sign-up |
Create an account |
POST | /login |
Get access to API with valid credentials |
Method | Endpoint | Purpose |
---|---|---|
GET | /characters |
Show all characters |
GET | /characters/:characterId |
Show one character by ID |
POST | /characters |
Create a character |
PUT | /characters/:characterId |
Update a character |
DELETE | /characters/:characterId |
Delete a character |
Method | Endpoint | Purpose |
---|---|---|
GET | /quotes |
Show all quotes |
GET | /quotes/:quoteId |
Show one quote by ID |
POST | /quotes |
Create a quote |
PUT | /quotes/:quoteId |
Update a quote |
DELETE | /quotes/:quoteId |
Delete a quote |