zadeviggers / drag-and-drop-todos

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Drag'n'drop TODO list

A simple TODO list with Drag-and-drop to move items between lists.

The front-end is a React SPA, and the back-end is a Deno server. Data is stored in a SQLite database.

To run

  1. Build the frontend

You'll need NodeJS 18 or 20+ installed

cd todo-frontend
npm i
npm run build
  1. Start the server This will run it with minimal filesystem permissions. It will also serve the static files from the frontend.

You'll need Deno installed

When you run the server for the first time, the database and tables will all be set up automatically.

cd .. # back to project root
deno run --allow-net --allow-read="./todo-frontend","./todos.db","./todos.db-journal" --allow-write="./todos.db","./todos.db-journal" server.ts

About


Languages

Language:TypeScript 81.1%Language:CSS 16.9%Language:HTML 1.2%Language:JavaScript 0.8%