A chat web application similar to WhatsApp. The goal of this project is to have the ability:
This project uses InertiaJS which takes a monolithic approach to gluing a FE framework, such as React in this case, and Laravel. Cloning this project, and running these commands should suffice:
yarn
- to install node_modules dependenciescomposer install
- to install laravel dependenciesMySQL and Redis database will soon be required. (TODO) Have a look at the .env.example
file to configure the connection between them
To start the project run:
php artisan serve
- to start-up the BE. On MacOS, if you have Laravel Valet setup and linked to this project's directory, you wouldn't need to do thisyarn dev
- to start-up the FE by having vite produce a preview for your dev environmentThis section focuses on how I went about structuring my code and my project's directories.
index.tsx
to export the component for cleaner importsComponents
folderTODO
dev
will be squasheddev
-> master
will always be a simple merge commit. Then it'll be tags for release.The structure the release versioning takes is: v[major].[minor].[hotfixes/patches]