template-fastapi-react
template-fastapi-react copied to clipboard
A solution template for creating a Single Page App (SPA) with React and FastAPI following the principles of Clean Architecture.
#### Describe Problem The default branch is hard-coded in some of the workflows in the template - `branches: - main`. Some users of the template might wan't to use `master`...
## Why is this pull request needed? This pull request is needed because of.... ## What does this pull request change? Write summary of what this pull request changes if...
See: https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
Check out the tool https://locust.io/, or alternatively find out if better tools exist.
Some background info for why we might consider evaluating PyHamcrest When a test fails it’s very important to provide enough information on what went wrong. PyHamcrest can be used to...
To automatically test the API using FastAPI’s self-generated OpenAPI specification using [schemathesis](https://github.com/schemathesis/schemathesis). Schemathesis works by looking at the API specification and automatically generating test cases for each endpoint. Schemathesis checks...
See [NeqSimAPI](https://github.com/equinor/NeqSimAPI/pull/258) for an example
To catch errors, and stop the page from freezing/going white, we should add a top level [ErrorBoundary](https://reactjs.org/docs/error-boundaries.html)
https://glebbahmutov.com/blog/versioned-doc-pages/ https://github.com/bahmutov/deploy-gh-example/blob/main/.github/workflows/deploy.yml Blocked: #12 needs to approved and merged frist