Msngr is a simple, super scalable messaging application that leverages cloud services for autoscaling.
- Highly scalable: Msngr can handle a large number of users and messages without compromising performance.
- Cloud-based: Msngr uses various AWS services, ensuring reliability and robustness.
- Backend: AWS Lambda, API Gateway (HTTP API, Websockets), CloudFront, S3, Route53, Certificate Manager.
- Server: tRPC Lambda server.
- Frontend: React Vite, hosted on S3.
Follow these steps to set up and run Msngr locally:
- Docker
- AWS account
- AWS CDK
- Environment variables set based on
.env.example
- Updated content in the
config
folder
- Clone the repository:
git clone <repository-url>
- Install dependencies:
npm ci
- Bootstrap the CDK:
cdk bootstrap
- Deploy the application:
npm run deploy
- After deployment, edit the API target path in
vite.config
- You can now test your app locally by running
npm run dev
or test the deployed app
Contributions are welcome! Please read the contributing guidelines before getting started.
This project is licensed under the terms of the MIT license.