After downloading this repository, run npm install
to install all project dependancies
In the project directory, you can run:
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.
Launches the test runner in the interactive watch mode.
See the section about running tests for more information.
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.
This project contains 4 distinct sections:
This contains all of the components that are specific to the admin portal sysetem. Each folder within the admin folder contains a file/multiple files that make up a single admin view. This content is stored in src/components/portalpages/admin.
This contains all of the components that are specific to the broker portal sysetem. Each folder within the broker folder contains a file/multiple files that make up a single broker view. This content is stored in src/components/portalpages/broker.
This contains all of the components that are specific to the user portal sysetem. Each folder within the user folder contains a file/multiple files that make up a single user view. This content is stored in src/components/portalpages/user.
This folder contains all of the components that are reused throughout this application. These components include forms, components to display various property data, customer data displays and so on. This content is stored in src/components/utilities.
This project also contains contexts and services folders. The context folder contains contexts that are specific to each portal while the services folder contains verious services for api calls, token authentication and form validation. All API endpoints used are stored in the config.js file under the src directory.