For small teams, Todo List helps you get things done. Simple!
You can immediately deploy your version with the button below:
Yarn is the package manager. Run yarn
to install the dependencies.
Prisma is the ORM. Run yarn prisma generate
to generate the Prisma client and yarn prisma migrate deploy
to apply the migrations.
Postgres is the database. Run yarn prisma studio
to open the Prisma studio and view records. Or you can use a GUI app like TablePlus or whatever you like.
DATABASE_URL="postgresql://[email protected]:5432/todolist"
COOKIE_SECRET="somerandomstring"
BASE_URL= # falls back to VERCEL_PROJECT_PRODUCTION_URL which is set on Vercel environments
WEBHOOK_URL= # optional
DISCORD_WEBHOOK_URL= # optional, see Webhook section
DISCORD_BOT_NAME= # optional, defaults to "kovacs"
If a WEBHOOK_URL
is provided, the endpoint is called with the following events:
Event Name | Description |
---|---|
task.created |
Triggered when a new task is created |
task.updated |
Triggered when a task is updated |
task.deleted |
Triggered when a task is deleted |
task.status_changed |
Triggered when a task's status changes |
task.assigned |
Triggered when a task is assigned to a user |
comment.created |
Triggered when a comment is added to a task |
user.joined |
Triggered when a new user joins the system |
Todo List implements webhook integration for Discord messaging for these events.
To set up Discord notifications:
- Provide a
DISCORD_WEBHOOK_URL
that contains a valid Discord webhook endpoint. See Discord's Webhook Guide on how to create this endpoint in your server. - Set
WEBHOOK_URL
tohttps://<your-todolist-domain>/webhook/discord
Voila, your discord server will start receiving events.