NOTE: this repository needs to be updated, it was built using "@sveltejs/kit": "next"
in the package.json file. But, SvelteKit has changed it's routing and other things that break the app in it's current state. I also think rxDB has changed as well.
TODO: update this repository upto the new SvelteKit routing and latest rxDB stuff.
A simple todos app using SvelteKit, rxDB, PouchDB, CouchDB and Tailwind CSS. Data is stored in browser IndexedDB with rxDB (PouchDB) and syncs with a remote CouchDB database.
Enter
key while the caret is in todo item input fieldX
(delete) buttonEnter
keySince version 8.0.0 RxDocument.set() can only be called on temporary RxDocuments
Once you've cloned or downloaded the project, install dependencies with npm install
(or pnpm install
or yarn
), then start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --open
To create a production version of your app:
npm run build
You can preview the production build with npm run preview
.
To deploy your app, you may need to install an adapter for your target environment.