My Notes App (Svelte)
A simple notes application built with Svelte that supports adding, editing, deleting, and searching notes. It also supports dark mode.
How to Run the App:
- Clone the repository
bash
git clone https://github.com/yaswanth0091/Notes-App-Svelte.git
cd Notes-App-Svelte
- Install dependencies
bash
npm install
- Start the development server
bash
npm run dev
Features:
- Add, edit, and delete notes
- Search notes by title
- Dark/light mode toggle
- Confirm before deleting
- Backend powered by MockAPI
Trade-offs & Assumptions
- Used MockAPI for simulating a backend. In a real-world app, this would be replaced with an actual database and backend.
- Notes do not persist offline or across browsers (since it uses an online API).
- Minimal input validation for simplicity.
With More Time...
- Add user authentication
- Store notes offline using IndexedDB
- Add tags or categories for notes
- Support markdown content in notes
- Implement unit and integration tests
Screenshots:
Light Mode:
Dark Mode:
Search-Bar-Functionality
Edit-Functionality
Delete-Confirmation