Chirp is a Laravel based app running on AWS Lambda. It also uses RDS, SQS and DynamoDB. Hope you'll be able to learn something from it. Also, I'm always thrilled to receive good critisism and PRs.
Run the project locally on whatever environment you prefer. This shouldn't be enforced IMO.
composer install
cp .env.example .env
php artisan key:generate
php artisan migrate
yarn
yarn dev
Few notes about my testing strategy:
- The "sign in with Twitter" button on the home page is tested with Dusk;
- Twitter's API isn't mocked. I can't be confident about Chirp's stability if I can't hit the real stuff. To avoid rate limit errors, I just cache the responses.
composer test
cp .env.production.example .env.production
make
MIT