Skip to content

Latest commit

 

History

History
138 lines (90 loc) · 7.46 KB

README.md

File metadata and controls

138 lines (90 loc) · 7.46 KB

pickFix Frontend

URL

Visit pickFix

Overview

pickFix is an online web application that provides a platform for local service providers and customers to connect. Customers can explore local services based on their geographical location and availability. Then customers can send project requests to contractors, where contractors can review, chat back and confirm or decline the project.

Backend

This is full stack application where the backend is deployed elsewhere and can be found here: pickFix-Backed

Features

  • Single-page Frontend React Application
  • HTML Geolocation On login pickFix-frontend requests HTML Geolocation from the client and then sends it to pickFix-backend where it is stored in the pickfix-user_locations database.
  • Google Maps API - User's location and contractors near the user's location are fetched from pickfix-user_locations database and then fed into the Google Map Component that is rendered in the Explore route.
  • React Calendar - Project dates are fetched from pickfix-projects database and then populated in contractor's Calendar component where availability is displayed to potential customers. Calendars are also rendered in all user's profiles displaying all projects and requests sent. While public contractor's calendars only display confirmed projects and not requested projects.
  • Password Bycryption
  • Authentication/Authorization
  • Token stored in client's Local Storage
  • Multi-device compatible front-end interface
  • Backend Data Handling
  • Database Data Storage

Tech Stack

  • Google Calendar API
    • API Link
    • Credentials required and can be declared in contractorList.js
  • React Big Calendar
  • HTML Geolocation API
    • Credentials not Required Link
    • Compatible browser required
  • Node Express
  • Node React
  • PostgreSQL

User Flow

  1. Sign In and Log In routes are available at first arrival. image image
  1. After Signing in or Logging in you are welcomed to your Profile page. Confirmed and requested projects are displayed in your Profile's calendar image
  1. Customers can search for local services in Explore. If you are a contractor you cannot search for other contractors hence Explore is not displayed. Clicking on a contractor a card will display showing you more details and button to request service. image image
  1. When Clicking request service, a form appears where you can fill in details regarding the service you are requesting. image
  1. Once submitting a request, you can find requested projects in the Requests until they are Accepted or Declined image
  1. Accepted Projects can be found in the Requests route. image

7.All projects/requests have a chat room so the contractor and customer can communicate. image

  1. Log out to clear session

Set up

In the project directory, you can run:

npm install

npm start

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

The page will reload if you make edits.
You will 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