This project was bootstrapped with Create React App.
This project uses react-admin. Most of the uses cases are taken directly from examples in the documentation.
components
:common
: Common components that are generic and reusable.App
: App component.- Folders for the components used in each resource.
constants
: Global constants. Mostly auth related.react-admin
: Files directly related to thereact-admin
library. Most notably theauthProvider
and thedataProvider
styles
: CSS files used in global styles.utils
: Helper functions.index.js
: Entry point.
REACT_APP_CLIENT_ID
: Google auth client id, required for the google login.REACT_APP_API_URL
: Backend url, including protocol and no/
at the end.
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.
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.
The github repo has continuos deployment to netlify configured. Master branch deploys to: https://pis-effectus.netlify.app/ Staging branch deploys to https://pis-effectus-staging.netlify.app
You can learn more in the Create React App documentation.