Skip to content

Amrita0205/LoveNote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📝 NoteCard App

A vibrant and interactive note-taking application built with React, Chakra UI, and Framer Motion. This app lets users create, edit, and delete notes with colorful backgrounds, smooth animations, and a glowing card design. Each note is a visually distinct card with interactive features.


🚀 Features

  • Create Notes – Add new notes with custom messages and background colors.
  • 🛠 Edit Notes – Update existing notes easily with a user-friendly editor.
  • Delete Notes – Remove notes in a single click.
  • 🎨 Interactive UI – Animated cards with pink glow effects and smooth hover transitions.
  • 📱 Responsive Design – Works across devices from mobile to desktop.
  • 💅 Modern Styling – Built using Chakra UI and Framer Motion.

🧰 Tech Stack

  • Frontend: React, Chakra UI, Framer Motion
  • Backend (optional): Node.js/Express
  • State Management: React Context API (AuthContext for authentication)
  • HTTP Client: Axios

📦 Prerequisites

Make sure you have the following installed:

  • Node.js (v14 or higher)
  • npm or Yarn
  • Git (for cloning the repo)

🔧 Installation

1. Clone the Repository

git clone https://github.com/your-username/notecard-app.git
cd notecard-app


2. Navigate to the Frontend Directory:
```bash
cd frontend
  1. Install Dependencies:
# Using npm
npm install

# Or using Yarn
yarn install
  1. Set Up Environment Variables: Create a .env file in the frontend directory:
REACT_APP_API_URL=http://localhost:5000
  1. Run the Development Server:
# Using npm
npm start

# Or using Yarn
yarn start

Backend Setup (Optional)

  1. Navigate to the backend directory:
cd backend
  1. Install backend dependencies:
npm install
  1. Set up environment variables in .env:
PORT=5000
MONGODB_URI=your-mongodb-connection-string
JWT_SECRET=your-jwt-secret
  1. Run the backend server:
npm start

Usage

  1. Open the App: Navigate to http://localhost:3000

  2. Log In: Use your credentials to log in or sign up if supported

  3. Create a Note:

    • Enter a message in the input field
    • Select a color for the note
    • Click "Add Note" button
  4. Edit a Note:

    • Click the purple pencil button
    • Update message and color
    • Save changes
  5. Delete a Note:

    • Click the orange "X" button
  6. Enjoy the Animations:

    • Hover effects on cards
    • Pink glow effect
    • Spring transitions

Project Structure

notecard-app/
├── frontend/
│   ├── src/
│   │   ├── components/
│   │   │   └── NoteCard.jsx    # Note card component
│   │   ├── context/
│   │   │   └── AuthContext.jsx # Authentication context
│   │   ├── App.jsx             # Main app component
│   │   └── index.jsx           # Entry point
│   ├── public/
│   ├── .env
│   ├── package.json
│   └── README.md
└── backend/                    # Optional backend code

Contributing

  1. Fork the repository

  2. Create a new branch:

git checkout -b feature/your-feature-name
  1. Make your changes and commit:
git commit -m "Add your feature description"
  1. Push to your fork:
git push origin feature/your-feature-name
  1. Open a pull request

License

This project is licensed under the MIT License.

Acknowledgments

  • Chakra UI for the component library
  • Framer Motion for animations
  • React for the frontend framework
  • Transparent Textures for background patterns

Contact

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors