Just another Ornaman 🍃 ToDo (full-stack) App that runs on Deta Space!
The main components of the project are:
-
/frontend
- Client side app, made with vanilla JavaScript and bundled using Vite -
/backend
- Simple CRUD Express server that stores data using Deta Base -
Spacefile
- configuration for deploying this app to Deta Space 💫
space new
- Install frontend and backend dependencies together:
npm run install:all
- Start app in development mode:
space dev
This will start both the frontend and backend Micros, connect them to your projects development data and emulate the Space routing.
The app contains a Scheduled Action (cleanup
) that runs every 1 minute and deletes todos that have the property done: true
. Scheduled Actions are not available locally, but you can emulate them with the space dev trigger
command:
space dev trigger cleanup
Refer to our docs for more information on Space development.
space push
MIT