Surreal Sveltekit: A Starter Kit with SurrealDB and SvelteKit, featuring Authentication and CRUD Operations + Realtime
⭐ Found this project helpful? Show some love with a star and consider to be a SPONSOR! Your support keeps the code evolving. 🚀
✨ Grab FREE SurrealDB Cloud instance 🚀🚀🚀
auth.mov
username-validation.mov
realtime.mov
- Docker
- Ensure that ports
5173
and8000
are available for use.
SurrealDB
- The ultimate multi-model databasesurrealdb.js
for interacting with awesome SurrealDBsveltekit-superforms
+zod
to enable super powers in working with forms - Superforms | Zod@master/css.svelte
as an interesting alternative for TailwindCSS - MasterCSSdayjs
to enable high level of DX in working with time and dates - Day.js
- Clone the repository to your local machine.
- Install dependencies. For example:
bun install
If you don't have bun installed, you can utilize pnpm or any other Node.js package manager. For instance:
pnpm install
- Execute the provided npm script. For example:
bun run multitaskum:developum
If you don't have bun installed, you can utilize pnpm or any other Node.js package manager. For instance:
pnpm run multitaskum:developum
This command will initiate SurrealDB within a Docker container and launch SvelteKit in your local development environment.
- Access http://localhost:5173 using your preferred web browser.
- Test various functionalities such as creating a new account, logging in, generating new posts, editing posts, and deleting them.
- If you encounter any issues (as I rushed a bit to meet the hacktoberfest deadline), please feel free to open an issue.
- I am open to any contributions as I aspire to make this starter a top choice for initiating projects that utilize the best modern technologies.