Basic SPA
Last updated
Was this helpful?
Last updated
Was this helpful?
Welcome to your Basic Single Page Application Starter
. Use this to start your own Greenfield Project using ReactJS and common industry standards.
This repository assumes a handful of industry practices and standards. We strive to keep you on the bleeding edge of the industry and as a result, we have made some opinions for you so that you don't have to; you're welcome.
The following was built using for base boiler-plating. We will maintain the dependencies according to their specifications as an Engineering Organization.
REACT_APP_CLIENT_ID
Okta client id
REACT_APP_OKTA_ISSUER_URI
Okta API authorization server issuer URI (eg. https://name-438r8hr.okta.com/oauth2/default
)
REACT_APP_API_URI
The URL (localhost or live) for the Backend that you're building
Fork and clone the repo to install it as your own remote.
note please for this repo to point to your Labs Team Front End Repository.
run: npm install
to download all dependencies.
run: npm start
to start your local development server.
When using Okta for authentication, the app will need to run locally on port 3000.
Are you seeing an error onnpm start
which looks something like this?
We feel that you shouldn't have to spend time as a developer worrying about where your files should go and your architectural decisions that you'd have to make if you strted from scratch.
We have provided an example of a simple Plot Charting component that can be built, configured, and delivered for your use by the Data Science Team.
We strongly urge you to work in constant collaboration with the data scientists in order to pull in their work into your application, ensure that their work matches the theme and style of your team's application and that the data you pull in represents what problem that team was trying to solve. This will be a process that requires work and dedication and give-and-take.
Please use Labels
when filing issues try and include screenshots of bugs and steps to reproduce.
Head over to the package.json
file and please modify your scripts in order to allocate more memory for the 'craco' package. More information on 'craco' and why we use it .
Example Components: of how to work w/ Plotly.js
and React-Plotly.js
.
In accordance with our this app uses common practices for Unit/Integration Testing using:
For examples on how to test your application and more information please see .
As this repository is a Work In Progress (WIP) we'd love to hear more about what is working for you and what could be improved.to submit and file any issues that come up during your development cycle. Issues should be related to things like, documentation, bugs that come up with the existing flow, architectural discussion, suggestions for improvements, and anything that you find cumbersome about getting started and working through a product cycle using these tools.