Skip to content

A beautiful web app to create and share personalized love stories with your partner. It features romantic templates, a love counter, a music player, a photo gallery, and more! Perfect for anniversaries, Valentine's Day, or just a special moment with your loved one. ๐Ÿ’•

Notifications You must be signed in to change notification settings

imankii01/Valentine-Rose-Day

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

6 Commits
ย 
ย 
ย 
ย 

Repository files navigation

โค๏ธ Love Story App

A beautiful web app to create and share personalized love stories with your partner. It features romantic templates, a love counter, a music player, a photo gallery, and more! Perfect for anniversaries, Valentine's Day, or just a special moment with your loved one. ๐Ÿ’•


โœจ Features

  • Romantic Templates โ€“ Choose from multiple beautifully designed love story templates.
  • Love Counter โ€“ Displays how many days you've been together.
  • Music Integration โ€“ Add a special song via YouTube.
  • Photo Memories โ€“ Upload and display cherished photos.
  • Love Letter โ€“ Write and display a heartfelt love letter.
  • Floating Hearts Animation โ€“ A lovely animated effect for extra romance.
  • Customizable Themes โ€“ Personalize colors and fonts.
  • Easy Sharing โ€“ Generate a unique URL to share your love story.
  • Responsive Design โ€“ Works beautifully on both mobile and desktop.

๐Ÿ› ๏ธ Tech Stack

This project leverages modern web technologies to deliver a smooth and engaging user experience.

Frontend:

  • React.js โ€“ Component-based UI for interactive experiences.
  • Tailwind CSS โ€“ For clean and modern styling.
  • Lucide Icons โ€“ Beautiful icons for UI elements.
  • Nanoid โ€“ For generating unique shareable IDs.
  • Val.town (for Serverless Execution) โ€“ Runs directly in the cloud without backend setup.

Backend (Optional Local Setup):

  • Node.js โ€“ JavaScript runtime for running a backend.
  • Express.js โ€“ For handling API requests.
  • SQLite โ€“ Lightweight database for storing love stories.

๐Ÿš€ How to Run This Project

1๏ธโƒฃ Run it Directly on Val.Town (No Setup Required)

Since this project is written for Val.town, you can run it directly:

  1. Go to Val.town
  2. Sign in or create an account
  3. Click 'New Val'
  4. Paste the full code into the editor
  5. Click 'Run' and get your live URL! โœ…

2๏ธโƒฃ Run it Locally (Without a Backend)

If you only need the frontend, you can run it in a browser with just an HTML file:

Step 1: Create index.html

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Love Story App</title>
</head>
<body>
    <div id="root"></div>
    <script type="module">
        import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
        import React from "https://esm.sh/react@18.2.0";
        import App from "./app.js";  // Create app.js with your React code
        createRoot(document.getElementById("root")).render(React.createElement(App));
    </script>
</body>
</html>

Step 2: Create app.js

  • Copy your React component code into app.js
  • Open index.html in a browser.

3๏ธโƒฃ Run it Locally with a Full Development Setup

If you want to develop and test with a full local setup, follow these steps:

Step 1: Install Node.js

Download and install Node.js if you haven't already.

Step 2: Set Up the Project

mkdir love-story-app
cd love-story-app
npm init -y

Step 3: Install Dependencies

npm install react react-dom lucide-react nanoid vite express sqlite3

Step 4: Create index.html in the public/ Folder

Same as the HTML code above but inside public/index.html.

Step 5: Create React App in src/

Create a src folder and inside it, create main.jsx:

import React from "react";
import { createRoot } from "react-dom/client";
import App from "./App";
createRoot(document.getElementById("root")).render(<App />);

Step 6: Add App.jsx

  • Copy your full React component code into src/App.jsx.

Step 7: Run the Development Server

npm run dev
  • Open the URL provided by Vite (e.g., http://localhost:5173).

๐ŸŽฏ How It Works

  1. User selects a love template (e.g., "Romantic Classic").
  2. Fills in details โ€“ Partner's name, love letter, song, and images.
  3. Generates a unique love story page with animations and interactive elements.
  4. Shares the link with their partner.
  5. Partner visits the page and sees the love letter, memories, and more! โค๏ธ

๐Ÿ”ฎ Future Enhancements

  • Custom Templates โ€“ Let users create their own designs.
  • AI Love Letter Generator โ€“ Automatically generate a romantic letter.
  • Multimedia Support โ€“ Add voice notes and videos.
  • User Accounts โ€“ Save and edit love stories over time.
  • More Animation Effects โ€“ Enhance the love experience with more animations.

โ˜• Buy Me a Coffee

If you like this project, consider supporting me! โค๏ธ Buy Me a Coffee


Enjoy creating your love story! ๐Ÿ’–

About

A beautiful web app to create and share personalized love stories with your partner. It features romantic templates, a love counter, a music player, a photo gallery, and more! Perfect for anniversaries, Valentine's Day, or just a special moment with your loved one. ๐Ÿ’•

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published