I presented this app during the Phoenix React JS Meetup on 01/19/23, creating a TodoMVC app using SvelteKit/TS/MongoDB. My focus was on using SvelteKit Form Actions and Loading Data, utilizing CRUD operations to the database without a Node server. You'll notice form elements everywhere, but that's because I really wanted to emphasize Form Actions to learn it more.
I didn't follow the instructions for the typical TodoMVC, and there are a lot of improvements and cleaning up to be made, but this app is a completely functional Todo app using SvelteKit!
Tech used:
SvelteKit, TypeScript, MongoDB.
Using NPM:
# Install dependencies
$ npm install
# Start development server
$ npm run dev
Using Yarn:
# Install dependencies
$ yarn
# Start development server
$ yarn dev
Using PNPM:
# Install dependencies
$ pnpm i
# Start development server
$ pnpm run dev
Open http://127.0.0.1:5173/ to view it in the browser.
.env
file and add the following: