This project was bootstrapped with Create React App.
Requirement:
- Node Version >=v16.20.2
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.
Edit the package.json and the line about deploy-s3 to deploy the build as a static website using an S3 bucket\
The app supports AWS Cognito login. Supply the details in the config.js
file in the public
folder to connect to the desired Cognito user pool.
To disable Cognito, set the flag AMPLIFY_ENABLED
to false.
Here are the additions added on top of Create React App.
Prettier is an opinionated code formatter. This runs on git commits.
To manually trigger prettier formatting, run npm run format
Airbnb JavaScript Style Guide is implemented. All code is checked before a git commit.
Emotion can be used to style components.
You can use React Router for setting up multiple pages.
React Query can be used for fetching data from rest endpoints.
You can learn more in the Create React App documentation.
To learn React, check out the React documentation.