https://github.com/torhamdev/t-dark-chat
An anonymous messenger without the need for any registration information
https://github.com/torhamdev/t-dark-chat
chat chat-application django django-project django-rest-framework messaging messenger
Last synced: 11 months ago
JSON representation
An anonymous messenger without the need for any registration information
- Host: GitHub
- URL: https://github.com/torhamdev/t-dark-chat
- Owner: TorhamDev
- License: gpl-3.0
- Created: 2021-10-18T13:24:35.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-14T07:57:55.000Z (over 4 years ago)
- Last Synced: 2025-03-26T17:56:39.257Z (12 months ago)
- Topics: chat, chat-application, django, django-project, django-rest-framework, messaging, messenger
- Language: Python
- Homepage:
- Size: 515 KB
- Stars: 11
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# T-Dark-chat
  
> An anonymous messenger without the need for any registration information
## What is Dark Chat?
DarkChat is an anonymous messenger with one-time accounts that you do not need any registration information to enter.
In Dark Chat, you have usernames that are created randomly by the system itself and in 25 characters.
When you register in Dark Chat, you can specify the lifespan of your account from **1** to **24** hours. After this hour, your account will be lost.
You can change your username at any time during these hours, and if you are talking to someone, your conversation will be lost because your username will change and that person will not have your new username.
> Think of something like an **email** to understand more
### How to run this project?
```bash
git clone https://github.com/TorhamDev/T-Dark-chat.git
cd T-Dark-chat/
pip3 install -r requirement.txt
cd back_end/DarkChat/
python3 manage.py makemigrations
python3 manage.py migrate
python3 manage.py createsuperuser
python3 manage.py runserver
```
# Api endpoint
```text
1. api/v1/register/get-valid-code/
[get valid code] (Method : GET)
2. api/v1/register/set-user-password/
[set password] (Method : POST)
3. api/v1/messages/send
[send message] (Method : POST)
4. api/v1/messages/get-last-message
[get last message] (Method : POST)
5. api/v1/users/upadte-user-code
[upadte user code] (Method : POST)
6. api/v1/users/upadte-user-token
[upadte user token] (Method : POST)
7. api/v1/users/check-user-alive
[check that the user is alive] (Method : POST)
```