Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 1.77 KB

CONTRIBUTING.md

File metadata and controls

48 lines (33 loc) · 1.77 KB

Contributing

Development

Helper Scripts

You can use the helper script scripts/dev-project.sh to create a cookiecutter project to test locally. Do this from outside of the root directory to avoid accidentally commiting test builds. For example:

./fastapi-react/scripts/dev-project.sh

This will then create a dev-fastapi-react directory.

cd dev-fastapi-react
docker-compose up -d

When developing locally, there is also a helper script that will create a cookiecutter directory, build containers, and run tests all from within the root project directory. This can be kind of a tedious process with cookiecutter so this makes it somewhat less painful. From the root fastapi-react directory, simply run:

./scripts/test_local.sh

Pull Requests

Use the general feature branch workflow for development. After a feature is complete, make a pull request and wait for 1 approval before merging.

Try to keep PRs as small and focused as possible. If you are making a big breaking change in production and don't want to expose half finished functionality to users, you can use feature flags to work on this incrementally. A big PR is much less likely to be approved

Linting

Please run Black code formatter on the backend code and Prettier on the frontend code. Take a look at the Github action for an example of this.

Where to Start

Start by browsing through the list of issues, particularly those flagged as help wanted.