Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chauveaul/chatexpire
A proof of concept for a realtime chat app with expiring exchanges using one-time codes
https://github.com/chauveaul/chatexpire
Last synced: about 1 month ago
JSON representation
A proof of concept for a realtime chat app with expiring exchanges using one-time codes
- Host: GitHub
- URL: https://github.com/chauveaul/chatexpire
- Owner: chauveaul
- Created: 2024-06-16T00:41:18.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-05T17:14:11.000Z (about 2 months ago)
- Last Synced: 2024-11-05T18:26:59.199Z (about 2 months ago)
- Language: JavaScript
- Size: 257 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
#
ChatExpire
ChatExpire is a web application that lets users talk in a private lounge with full anonymity, and deletes chat logs after 24 hours of the lounge's craetion
## ๐ค How to use it
To start using ChatExpire, you can simply head over to this [link](https://www.chatexpire.web.app).
>[!NOTE]
>Make sure to stay on the same ip address for the duration of the conversation, otherwise the server will respond with a 404: Not Found### Create a Lounge
To create a lounge, you can click on the **Create Lounge** button situated in the main menu, and you will then get redirected to the chat page. Afterwards, you can just send the lounge number or the URL to a friend!### Join a Lounge
To join a lounge, you can write the lounge number in the input box in the main menu and click **Join Lounge** to be redirected to the chat room. Alternatively you can also access the chat room through a link that follows this format `https://chatexpire.web.app/lounge/{number}`## ๐คจ How it was made
### Frontend
The frontend was made with just HTML, CSS, and Vanilla JavaScript. This was then served to the client using Express.js### Backend
The backend was achieved using Firebase for the database and the server-side functions. The server-side functions were used mostly to communicate with the database. For the database, I used Firestore which proved really useful with its realtime database. Thanks to that, I was able to look for database updates and load the messages accordingly without needing sockets or anything of the likes.# โ๏ธ License
ChatExpire is licensed under the [MIT License](LICENSE)