Thank you for considering contributing to Datadive 🎉
To contribute to this project, follow these steps:
- Fork this repository and clone it to your local machine.
- Create a new branch for your contribution:
git checkout -b BRANCHNAME - Add your changes to the staging area:
git add [path of files] - Commit your changes using commitizen:
bun run commit - Push to the branch:
git push -u origin BRANCHNAME - Submit a pull request.
Please note that this repository uses conventional commits. This is enforced by commitlint. For more details check out the commitlint conventional configuration.
bun: ">=1.1.12"Datadive uses bun workspaces, so you should always run bun install from the top-level project directory. Running bun install in the top-level project root will install dependencies for Datadive, and every package in the repo.
git clone && cd ...
bun install
bun turbo buildCheckout the .env.example file inside the apps/api directory for the environment variables you need to get the project running. You should create free Turso and Resend accounts and copy the environment variables from their dashboard to a .env.local file in apps/api.
To get started, create a codespace for this repository by clicking this 👇
Your new codespace will open in a web-based version of Visual Studio Code. All development dependencies will be preinstalled, and the tests will run automatically ensuring you've got a green base from which to start working.
# Dev
bun turbo dev
# Build
bun turbo build
# Typecheck
bun turbo typecheck
# Lint
bun turbo lint
# Start apps in production mode
bun turbo startIf you're familiar with turborepo / bun workspaces, running stuff around this repo will be easy to figure out.
# auto-format the entire project
bun run format# lint the project
bun run lintPlease follow the existing code style and conventions used in the project.
If you encounter any issues with the project or have suggestions for improvements, please open an issue on the GitHub repository.
By contributing to this project, you agree that your contributions will be licensed under the LICENSE.
If you have any suggestions or concerns, consider opening a new issue.