A simple, responsive notes application built with Svelte and TailwindCSS. The app connects to a mock API to let users create, view, edit, and delete notes.
The app uses MockAPI.io.
Base URL:
https://68511b218612b47a2c08a075.mockapi.io/api/notes
Note Schema:
{
"id": "string",
"title": "string",
"content": "string",
"createdAt": "ISODate"
}
<root>/
āāā README.md # Project readme (this file)
āāā svelte-notes-app/
āāā .vscode/ # (optional) editor settings
āāā node_modules/ # dependencies
āāā public/ # static assets
āāā src/
ā āāā assets/ # app assets
ā āāā components/ # NoteForm, NoteList, NoteCard
ā āāā lib/ # (optional) helper modules
āāā package.json # npm project config
āāā tailwind.config.js # Tailwind setup
āāā ...
1ļøā£ Clone the repo
git clone https://github.com/SahilAdvani/Svelte-Notes-App.git
2ļøā£ Install dependencies
npm install
3ļøā£ Run the app
npm run dev
Open: http://localhost:5173
ā
Code repo: https://github.com/SahilAdvani/Svelte-Notes-App.git
ā
Functional app
ā
API working as expected