This app can be viewed live @ https://divvy.vercel.app/
** In order to Access This Information, A User Must Be Authenticated **
Retrieves the user's bills that have been added for the current month. Returns a response like the following:
{ "id": 5, "bill_name": "Mortgage", "bill_amt": 5757, "amt_paid": 586, "month": "January", "user_id": 548264648, "year": 2021, "date": null, "paid": false }
In order to post successfully, a user must be logged in. This POST method will retrieve your user information and authentication status before attempting to post. See the example below:
method: "POST",
headers: { "content-type": "application/json", token: `${token}` },
body: {
"bill_name" : "car payment",
"bill_amt" : "500",
"amt_paid" : "0",
"month" : "january",
}
- Node for interacting with the file system
- Express for handling API requests
- Knex.js for interacting with the PostgreSQL database
- Postgrator for database migration
- Mocha, Chai, Supertest for testing
- JSON Web Token and bcryptjs for user authentication / authorization
- React
- HTML5
- CSS3
- Jest/Enzyme