This is an example of how the Death Time middleware works.
Before testing the application, it is recommended to check the source code to configure the counter. The soruce code is located at: ./server/src/middleware/DeathTime.middleware.ts
.
const deathTime = new Date('YEAR-MONTH-DAYTHOURS:MINUTE:SECONS');
- Docker
- Node js (Optional)
# Start with Docker
$ docker-compose up
# If yout have Node.Js and want to start the process in your local machine, follows this path:
# Start datebase
$ docker-compose up db
# Start server inside the `./server` folder
$ npm install
$ npx prisma generate
$ npx prisma migrate deploy
$ npm run dev
# Start client inside the `./client` folder
$ npm install
$ npm run dev
The server code is documented in Swagger. You can acces it at localhost:3000/docs
Made by Dario Marzzucco (DMarzzucco)