# React client for SAMA chat server
## Overview
This is a frontend web app for the SAMA chat server https://github.com/SAMA-Communications/sama-server
Read a complete medium post **Introducing SAMA** about what is SAMA and what problems we are trying to solve with it https://medium.com/sama-communications/introducing-sama-simple-but-advanced-messaging-alternative-chat-server-524a532e2040
## Public cloud
The whole SAMA stack can be tested using https://app.samacloud.io public cloud.
## Development
### To run Web
- Make sure you followed SAMA server Development guide first https://github.com/SAMA-Communications/sama-server/blob/main/README.md#development
- In `apps/client`: copy `.env.example` to `.env`.
- Generate VAPID keys via `npx web-push generate-vapid-keys` and set Public Key to `VITE_PUBLIC_VAPID_KEY` in `.env` file
- `npm install` to install dependencies
- `npm run build --workspace=@sama-communications/sdk` to install SAMA api
- `npm run start --workspace=sama` to run server
- Access http://localhost:3000 in your browser
There are also other components. Make sure to check [Deploying SAMA chat server stack: a comprehensive guide](https://medium.com/sama-communications/deploying-sama-chat-server-stack-a-comprehensive-guide-294ddb9a2d78)
## Community and Support
Join our community for support and discussions:
- [GitHub Issues - SAMA server](https://github.com/SAMA-Communications/sama-server/issues), [GitHub Issues - SAMA client](https://github.com/SAMA-Communications/sama-client/issues)
- [SAMA on Medium](https://medium.com/sama-communications)
- Get help - [Discord 💬](https://discord.gg/bHSm9a7DpC)
## License
[Apache 2.0](LICENSE)
## Help us!
Any thoughts, feedback is welcome! Please create a GitHub issue for any feedback you have.
Want to support us?