Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sticky Notes React

A modern, sticky notes application built with React, Vite, and Appwrite. Features a dynamic drag-and-drop interface, auto-saving capability, and real-time backend synchronization.

Notes Screenshots

Features

  • 📝 Create & Edit Notes: Easily add new sticky notes and edit their content seamlessly.
  • 💾 Auto-Saving: Content changes are automatically saved to the Appwrite backend safely and securely.
  • 🖱️ Drag & Drop: Organize your workspace by dragging notes anywhere on the screen. The position is persisted.
  • 🎨 Dynamic Colors: Each note gets assigned coordinated header and body colors for a polished look.
  • 🗑️ Delete Notes: intuitive controls to remove notes you no longer need.
  • ⚡ Fast & Reactive: Built with Vite for lightning-fast development and production performance.

Tech Stack

  • Frontend: React
  • Build Tool: Vite
  • Backend: Appwrite (Database & API)
  • Icons: Custom SVG Icons

Getting Started

Follow these steps to get the application running on your local machine.

Prerequisites

Installation

  1. Clone the repository

    git clone <repository-url>
    cd NotesWithBackend
  2. Install dependencies

    npm install
  3. Environment Configuration Create a .env.local file in the root directory. You can use .env.example as a reference. Add your Appwrite configuration keys:

    VITE_ENDPOINT="https://cloud.appwrite.io/v1"
    VITE_PROJECT_ID="your_project_id"
    VITE_DATABASE_ID="your_database_id"
    VITE_COLLECTION_NOTES_ID="your_collection_id"
  4. Run the application

    npm run dev

    Open http://localhost:5173 in your browser to view the app.

Documentation

For a detailed look at the project's architecture, data models, and directory structure, please refer to ARCHITECTURE.md.

Project Structure

  • src/appwrite: Appwrite configuration and service setup.
  • src/components: Reusable UI components (NoteCard, Controls, etc.).
  • src/context: React Context for state management.
  • src/pages: Main application pages.
  • src/utils.js: Utility functions for logic like auto-grow and positioning.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

About

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages