/ornaman-todo-app

Just another Ornaman ToDo App

Primary LanguageJavaScript

Preview

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 💫

Development

  1. Install Node.js. Preferably LTS version.

  2. Install and setup Space CLI

  3. Create a new Space project:

space new
  1. Install frontend and backend dependencies together:
npm run install:all
  1. 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.

Run it on Space

space push

License

MIT