Contributing to TryPost
Thank you for your interest in contributing to TryPost! This guide will help you get started.Ways to Contribute
- Report bugs - Found a bug? Open an issue
- Suggest features - Have an idea? Start a discussion
- Improve docs - Fix typos, add examples, clarify instructions
- Write code - Fix bugs or implement new features
Tech stack
TryPost is a Laravel app with an Inertia.js + Vue 3 front-end. Queues run on Horizon; real-time updates use Reverb.Development Setup
Prerequisites
- PHP 8.2+
- Node.js 20+
- PostgreSQL or MySQL
- Redis
- Composer
Setup
- Fork and clone the repository:
- Install dependencies and run first-time setup:
composer install, copies .env, generates an app key, migrates the database, runs npm install, and builds the front-end.
- Start all dev processes with one command:
php artisan serve, php artisan queue:listen, php artisan pail (logs), and npm run dev concurrently. For SSR development use composer dev:ssr instead.
Code Style
PHP
We use Laravel Pint for PHP code formatting:JavaScript/TypeScript
We use ESLint and Prettier:Testing
Run the full suite (lint + tests) with:Pull Request Process
- Create a branch from
main:
- Make your changes and commit with clear messages
- Run tests and ensure they pass
- Run code formatters:
-
Push and create a pull request against the
mainbranch - Describe your changes in the PR description
Commit Messages
Write clear commit messages:fix: resolve login redirect issuefeat: add Pinterest scheduling supportdocs: update installation guiderefactor: simplify post creation logic
Questions?
- GitHub Discussions - For questions and ideas
- GitHub Issues - For bugs and feature requests
License
By contributing, you agree that your contributions will be licensed under the same license as the project — GNU AGPL v3 (seeLICENSE.md in the repo).
