Repository files navigation COP4331-LargeProject - Trash Overflow
API Endpoints (API Team Please Change)
EndPoint
Input Parameters
Return Parameters
users/register
name, password_hash, phone_number, email
_id, name, password_hash, phone_number, email
users/login
email, password_hash
user, token
users/edit
name, password_hash, phone_number, email
TBD
users/delete
token, TBD
TBD
groups/createGroup
token, TBD
error
groups/editGroup
token, TBD
error
groups/deleteGroup
token, TBD
error
groups/join
token, group_ID, user_ID
user, group, OR error
groups/leave
token, group_ID, user_ID, group_place_holder_ID, group_member_ID
user, group, OR error
groups/remove
token, group_ID, user_ID
user, group, OR error
chores/add
token, group_ID, newChore: {chore_assigned_users, chore_user_pool, chore_name, chore_description, chore_completion_status, chore_point_value, chore_schedule}
token, chore, group_chore_list, OR error
EditRoomate.js
token, TBD
error
AddChore.js
token, TBD
error
EditChore.js
token, TBD
error
DeleteChore.js
token, TBD
error
Introductions
Everyone will introduce themselves and their role
Tech Used (Sam)
Things that didn't go too well
Functional Vs. Class Components
Things that went well
SwagggerHub
Unit Testing
Demo
Landing Page / Register
Admin Functions / Add Jo's User by link
User's prespective
Notes for 3-31 Check-up Meeting
Currently using custom written Middleware for User Authenication using JSON Web Tokens
We also use JWT for the email verification and Forgot Password link
Currently using Axios for all Client-Side requests
Heavily considering implementing, React-Query instead. (Auto-Cashe, Auto-Auth, Easy Loading Display)
Email Verification has been implemented
We registed for SendGrid, a SMTP service
We Use NodeMailer to send email requests to SendGrid which then send out pre-written emails (HTML)
All API Endpoints have been designed and written
Currently Working on Unit Testing
Currently finishing
All MongoDB Schemas have been designed
We use Mongoose in our project allowing use to have Schema Models which can contain custom instance/static methods.
Examples include Group.addGroupMember(user_ID, cb)
and a custom written Pre-Save functions that are called before every DB save.
We use these to check for changed passwords and hash them.
And check for an empty group, and delete it.
Completed FrontEnd Pages
Welcome
We used the welcome page as a way for the FrontEnd team to start learning react
Sign in
Register
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.