Create a real-time chat application using Server Sent Events (SSE) instead of Websockets. Utilize Inertia.js to seamlessly integrate Adonis.js backend with React frontend.
- Adonis.js: A powerful Node.js framework for building web applications.
- Inertia.js: A library that allows you to create fully client-side rendered, single-page apps, without much of the complexity that comes with modern SPAs.
- React
- SSE (Event Source): A protocol allowing to push data updates to web browsers and other HTTP clients in a convenient, fast, reliable, and battery-efficient way.
To launch the application, follow these steps:
- Clone the repository.
- Install dependencies using
npm install
. - Rename
.env.example
to.env
. - Run
docker-compose up -d
. - Run the development server using
npm run dev
.