Habitat-for-humanity - A scheduling platform for Habitat for Humanity SLO to help with donation pickups.

Overview

Getting Started with Create React App

This project was bootstrapped with Create React App.

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in your browser.

The page will reload when you make changes.
You may also see any lint errors in the console.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can't go back!

If you aren't satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.

You don't have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

npm run build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

Comments
  • 115-add-error-handling (resolves #115)

    115-add-error-handling (resolves #115)

    Screen Shot 2022-08-06 at 11 29 25 AM Screen Shot 2022-08-06 at 11 29 35 AM

    • Errors now handled through the screen instead of alert() on login and create account pages.
    • AWS errors are being displayed using error.message, i.e. "Password did not conform with policy: Password not long enough."
    • Frontend checks are limited to the most basic ones so far (not empty, has @, only numbers, etc.)
    opened by Xeygy 3
  • Added next steps component & some general styling

    Added next steps component & some general styling

    Summary

    • Added Next Steps component
    • Added styling in index.css that can be used across all pages since there are some elements that will have the same styling across all pages.
    • Added DonationPage component to show Next Steps. This component would be used to show all the different steps of the donations process. Let me know if you planned to do it differently.

    @ObjectJosh Feel free to let me know if you would like me to change anything. 🚀🚀

    opened by spencersablan 3
  • 86-Implement-Donor-React-Routing (resolves #86)

    86-Implement-Donor-React-Routing (resolves #86)

    The routing for the donor pages & authentication pages is completed for the completed pages.

    Missing Pages:

    1. "Make a Donation-Item Info" Page
    2. "Make a Donation - Review + Submit (Drop off & Pickup)
    opened by scallait 2
  • Create

    Create "Profile - Edit" Page for Donator View (Duplicate)

    Description

    Create the "Profile - Edit" screen based on Figma. Don't worry about the navbar at the top for this task (this was assigned in a separate issue).

    Setup

    1. Navigate to /frontend/src/components/
    2. Create a folder named "profile" (if it already exists, skip this step)
    3. Navigate into that folder named "profile"
    4. Create a folder with the PascalCase naming convention (name based on the component you're working on)
    5. Inside the folder, create a .tsx file with the same name as the folder
    6. Be sure to update the App.js file with your new component, or else you wont see any changes you make. This file is located in /frontend/src/

    Success Metrics Checklist

    • [ ] Looks exactly like the Figma (again, disregarding the navbar)
    • [ ] Responsive screen handling
    • [ ] Error pops up for invalid/empty input field
    • [ ] Cursor changes on hover for buttons
    • [ ] Store submitted input into state variable

    Finally, on your pull request, please request a code review from me (@ObjectJosh)

    Screen Shot 2022-01-19 at 10 42 16 PM frontend donor view 
    opened by ObjectJosh 1
  • 118-Donor-Redux (resolves #118)

    118-Donor-Redux (resolves #118)

    Implemented redux and redux-persist.

    Features added:

    Connected to ItemsDB Added Chair:

    https://user-images.githubusercontent.com/85770026/188716182-f362984b-e38c-43a4-b6a3-6831edccc02f.mov

    Error checking for each donation page

    https://user-images.githubusercontent.com/85770026/188716766-bd1bdabb-8006-45d8-822a-9aadece020ca.mov

    Error checking for server error

    https://user-images.githubusercontent.com/85770026/188716664-2908ee03-0606-4e97-b531-5baf4bd01ccf.mov

    Persistence of data through refresh and page back/forth

    https://user-images.githubusercontent.com/85770026/188717208-55a4543d-e0da-42de-bc78-358c22f75378.mov

    opened by Xeygy 0
  • 117-cognito-verification (resolves #117)

    117-cognito-verification (resolves #117)

    Features added:

    Email autofills from the form & sends correctly

    https://user-images.githubusercontent.com/85770026/186545116-8d2faf26-ece3-42e6-870e-ab5823ab1bf4.mov

    Verify email from login also works (note autofill + second email in inbox)

    https://user-images.githubusercontent.com/85770026/186545172-37e432c5-2edd-447c-a227-3a69b2a1d447.mov

    Get new code button sends a new code as well (w/countdown after click)

    https://user-images.githubusercontent.com/85770026/186545201-4302ebc0-93a1-434a-810f-575f9d2192af.mov

    (also the whitespace in login email causing the app to crash is now fixed).

    opened by Xeygy 0
  • Donor Make a Donation

    Donor Make a Donation

    Description

    On the donor's view, implement redux so that the data from each screen saves into the donation object, and send it to MongoDB under "ItemsDB" once they review + submit. Redux won't need any DB pushing/pulling, until the very end, as it's local. If you have any trouble saving these things into redux, especially the "available times", please feel free to msg me.

    When you send the event, I'd also add a field in the event data called "status", where it can be "pending", "declined", and "approved" (strings). I'd also add "approverName" and "volunteerName" fields which will both be strings as well. This will help us in the future.

    Success Metrics Checklist

    • [x] Redux implemented for donor "make a donation" screens
    • [x] Connected and event items sent to DB "ItemsDB"
    • [x] Error checking and handling of fields/DB request errors (to the best of your ability, let me know if you are uncertain about anything)

    Finally, on your pull request, please request a code review from me (@ObjectJosh)

    backend donor view 
    opened by ObjectJosh 0
  • Cognito Account Verification

    Cognito Account Verification

    Description

    So when a user creates an account they still need to verify their account. Make sure the create account page correctly redirects to VerifyAccountPage and add verify functionality.

    Verify email api should be VerifyUserAttribute if I'm not mistaken: https://docs.aws.amazon.com/cognito/latest/developerguide/signing-up-users-in-your-app.html#:~:text=user%27s%20email%20address.-,Present%20a%20confirmation%20page%20where%20the%20user%20enters%20the%20verification%20code,At%20this%20point%2C%20the%20email%20address%20is%20verified.,-Allowing%20users%20to

    Success Metrics Checklist

    • [x] Email autofill (make sure you account for it being blank or null. If that happens, just leave it blank
    • [x] Verify email works
    • [x] When a user doesn't verify their account after account creation for whatever reason, please check on the login page as well and if they login and still aren't verified, do the same flow as the create account page (send them a code & direct them to verify account page)
    • [x] Get new code button works (sends a new code)

    Finally, on your pull request, please request a code review from me (@ObjectJosh)

    backend 
    opened by ObjectJosh 0
  • Add Error Handling and Styled Messages

    Add Error Handling and Styled Messages

    Description

    Add error messages for authentication pages

    • Login
    • Create account

    The login page/create account has a couple different errors, the task is to "catch" each error and display the appropriate error. Some may include: email already exists, password incorrect, password too short, empty field error, etc. You can also check the documentation for the error types, if necessary.

    Success Metrics Checklist

    • [ ] Login errors handled (best of your ability)
    • [ ] Create account errors handled (best of your ability)

    Finally, on your pull request, please request a code review from me (@ObjectJosh)

    frontend 
    opened by ObjectJosh 0
  • Connect Amplify Auth with Our Screens #81

    Connect Amplify Auth with Our Screens #81

    Connected Auth with our Screens! I believe you should have seen most of the error catching and messages during hackathon day and I ran out of emails for screen shots of errors

    opened by jinwu23 0
  • 6-Implement-Express

    6-Implement-Express

    • Fixed Event and Item schemas to connect to MongoDB.
    • Created singular generic PUT requests for Events and Items.
    • Created POST request for Events that grab all needed information given: /*
    • Posts a new Event to EventsDB
    • @param {string} title title of the new Event
    • @param {Date} startTime starting time represented as a Date object
    • @param {Date} endTime ending time represented as a Date object
    • @param {ObjectId} volunteerId volunteer assigned to event
    • @param {ObjectId} itemId item to be picked up */
    opened by brandonhuynh1 0
  • [Bug] Create Account View Does Not Match Figma

    [Bug] Create Account View Does Not Match Figma

    Description

    Fix the donor view's Create Account Page based on the Figma. Make sure the page will resize based on the screen size. You only need to account for screen sizes larger than 640px width. The mobile view (<640px) will be completed in a separate issue.

    Success Metrics Checklist

    • [ ] Looks exactly like the Figma
    • [ ] Resizes appropriately according to screen size
    image

    Finally, on your pull request, please request a code review from either Josh (@ObjectJosh) or me (@scallait )

    bug good first issue frontend donor view 
    opened by scallait 0
  • Create

    Create "Donation Approval - Receipt" Page for Admin View

    Description

    Create admin view's donation approval - receipt page based on Figma. This task is just adding the receipt content inside the card already created in https://github.com/hack4impact-calpoly/habitat-for-humanity/pull/96

    Success Metrics Checklist

    • [ ] Looks exactly like the Figma
    • [ ] Working input fields and saves in state variables

    Finally, on your pull request, please request a code review from me (@ObjectJosh)

    frontend admin view 
    opened by ObjectJosh 0
Owner
Hack4Impact Cal Poly
We collaborate with nonprofits to develop software that meets important social and humanitarian needs.
Hack4Impact Cal Poly
Cards Against Humanity Game Client made with ⚡Nextron (Next.js + Electron) and Typescript

CAH Client Introduction This project is one of the other projects related to the Cards Against Humanity (CAH) game. This client is made in Electron, u

null 3 Jun 17, 2022
e-ONG, an authorial project, whose objective is to help ONGs to find people who need help or would like to help them

This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: npm start Runs the app in the developmen

Lucas Lima 2 Nov 11, 2022
Run async code one after another by scheduling promises.

promise-scheduler Run async code in a synchronous order by scheduling promises, with the possibility to cancel pending or active tasks. Optimized for

Matthias 2 Dec 17, 2021
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
ALU Map is a web-based platform that will help students move around ALU Rwanda Campus.

ALU-MAP ALU Map is a web-based platform that will help students move around ALU Rwanda Campus. Introduction Please refer to CONTRIBUTING.md for contri

null 5 Oct 25, 2022
GetOsLocalesCrossPlatform - A cross platform alternative to get locales used on the platform. Works on Node, Electron, NW.js and Browsers

getOsLocalesCrossPlatform A cross platform alternative to get locales used on the platform. Works on Node, Electron, NW.js and Browsers This script is

null 1 Jan 2, 2022
💯 Materials to help you rock your next coding interview

Tech Interview Handbook Credits: Illustration by @leftaligned Read on the website Black Lives Matter. Support the Equal Justice Initiative What is thi

Yangshun Tay 84k Dec 29, 2022
A curated collection of common interview questions to help you prepare for your next interview.

30 Seconds of Interviews A curated collection of common interview questions to help you prepare for your next interview. This README is built using ma

30 seconds 11k Jan 7, 2023
Tamper scripts to help with retailer checkout

falco-tamper-scripts Tamper scripts to help with retailer checkout Falcodrin Discord Falcodrin Twitter Falcodrin Twitch AMD Script Displays add to car

Stu MacKenzie 63 Oct 10, 2022
Functions Recipes is a library of examples to help you getting started with Salesforce Functions and get used to their main features.

Functions Recipes Introduction Salesforce Functions lets you use the Salesforce Platform for building event-driven, elastically scalable apps and expe

Trailhead Apps 172 Dec 29, 2022
fardin 8 Oct 18, 2022
Make clone chrome. With the help of a nomad coder

clone_momentum Make clone momentum. With the help of a nomad coder https://taeminchoe.github.io/clone_momentum/ Description of each function 1. Login

최태민(Taemin Choe) 1 Dec 26, 2021
📝 You Can Create Your Own Short Notes With The Help of Sticky-Notes Website.

Hi ?? , I'm Sneh Agrawal A passionate Web developer from India ?? I’m currently working on Chatting Website Chit-Chat ?? How to reach me on My Gmail A

Sneh (Smilyboyy) 1 Feb 23, 2022
Tools to help you improve performance of your Vue application.

Why did you update Tools to help you improve performance of your Vue application. Usage If we want to know how many times that (one of or all of) watc

快手“探索组”前端 19 Nov 3, 2022
This project is made with the help of https://www.youtube.com/watch?v=LMagNcngvcU&t=897s

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

Md Sabbir Rahman 1 Apr 24, 2022
Nutrition tracking software that uses machine learning to help you reach your body composition goals.

LogSmarter - Machine Learning Nutrition Tracker Description LogSmarter LogSmarter™ is not just another calorie counter. It is an AI nutrition coach th

Ryan Lefebvre 24 Sep 4, 2022