https://github.com/dmarzzucco/death-time
This project implements a technique inspired by the idea of pressuring customers to make outstanding payments by progressively rendering the application unusable after a specific deadline.
https://github.com/dmarzzucco/death-time
asp-net-core backend-api csharp flask-api middleware node-js python typescipt
Last synced: 4 months ago
JSON representation
This project implements a technique inspired by the idea of pressuring customers to make outstanding payments by progressively rendering the application unusable after a specific deadline.
- Host: GitHub
- URL: https://github.com/dmarzzucco/death-time
- Owner: DMarzzucco
- Created: 2024-07-17T12:14:47.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-03-10T19:56:23.000Z (over 1 year ago)
- Last Synced: 2025-06-23T07:02:41.914Z (about 1 year ago)
- Topics: asp-net-core, backend-api, csharp, flask-api, middleware, node-js, python, typescipt
- Language: Java
- Homepage:
- Size: 76.2 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Death Time
This project implements a technique inspired by the idea of pressuring customers to make outstanding payments by progressively rendering the application unusable after a specific deadline.
## Functionality
The core logic of the technique is based on server-side middleware that checks the current date against a predefined deadline. Once this deadline has passed, the application blocks all critical operations and deletes records from the database, ensuring that the application can no longer be used.
## Application Workflow
This diagram illustrates the application's logic flow, including user authentication, role-based access control, and task management processes.

## Implementation
```
Death Time = ('YEAR-MONTH-DAY HOURS:MINUTE:SECOND')
```
## Exapmples
```TS
const currenTime = new Date();
const deathTime = new Date('YYYY-MM-DDTHH:mm:ssZ')
```
```PY
current_time = datetime.utcnow()
death_time = datetime.strptime('YYYY-MM-DDTHH:mm:ssZ', '%Y-%m-%dT%H:%M:%SZ')
```
```CS
var currentTime = DateTime.UtcNow;
var deathTime = DateTime.Parse("YYYY-MM-DDTHH:mm:ssZ");
```
## Examples in Project
If you wanna see how work this middleware. You can test [here](https://github.com/DMarzzucco/register_Date_with_No_Paid_incluid.git)
## Author
Inspired from (@kleampa)
Made by Dario Marzzucco (@darmarzz)
## Advertising
This repository is designed for educational and demonstration purposes. The legality of its use in real applications is not guaranteed. The author is not responsible for improper use of this technique.