Skip to content

MarceloAdan73/DevNotes-Next.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

13 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

DevNotes - Your Code Second Brain ๐Ÿš€

Deployed on Vercel Supabase Backend PWA Ready Next.js 14 TypeScript

๐ŸŒ Live Application

๐Ÿ‘‰ https://dev-notes-ruby.vercel.app/


๐Ÿ“– Overview

A modern, developer-focused note-taking application designed specifically for code snippets, programming tips, and technical resources. Features a beautiful masonry layout, real-time search, and seamless Supabase integration with PWA capabilities for offline access.

DevNotes Screenshot


โœจ Key Features

๐Ÿ’ป Developer-Centric Tools

  • ๐Ÿ”„ Code Syntax Highlighting - Automatic language detection and formatting
  • ๐Ÿท๏ธ Smart Tag System - Color-coded organization by technologies and categories
  • โšก Real-time Search - Instant filtering across titles, content, and tags
  • ๐Ÿ“ Markdown Support - Rich text formatting with code block support

๐ŸŽจ Modern UX/UI

  • ๐Ÿ“ Masonry Layout - Pinterest-style responsive grid
  • ๐Ÿ”ฎ Glassmorphism Design - Modern translucent UI elements
  • ๐ŸŽฌ Smooth Animations - Framer Motion powered transitions
  • ๐Ÿ“ฑ Mobile-First - Responsive design with floating action button

๐Ÿ”— Advanced Integrations

  • ๐Ÿ—„๏ธ Supabase Backend - Real-time PostgreSQL database
  • ๐Ÿ“ฒ PWA Ready - Installable progressive web app
  • ๐Ÿš€ Vercel Deployment - Automatic CI/CD from GitHub
  • ๐Ÿ›ก๏ธ TypeScript - Full type safety and better developer experience

๐Ÿ› ๏ธ Technology Stack

Frontend & Framework

Technology Purpose Version
Next.js React Framework & SSR 14.0+
TypeScript Type Safety & DX 5.0+
Tailwind CSS Utility-First Styling 3.3+
Framer Motion Animations & Interactions 10.0+

Backend & Database

Technology Purpose Version
Supabase PostgreSQL Database & Auth Latest
PostgreSQL Production Database 15+
React Hot Toast Notifications Latest

๐Ÿ“ Project Architecture

DevNotes/
โ”œโ”€โ”€ ๐Ÿ—‚๏ธ src/
โ”‚   โ”œโ”€โ”€ ๐Ÿ  app/
โ”‚   โ”‚   โ”œโ”€โ”€ layout.tsx              # Root layout with metadata
โ”‚   โ”‚   โ”œโ”€โ”€ page.tsx                # Main application page
โ”‚   โ”‚   โ””โ”€โ”€ globals.css             # Global styles and Tailwind
โ”‚   โ”œโ”€โ”€ ๐Ÿงฉ components/
โ”‚   โ”‚   โ”œโ”€โ”€ CreatePostForm.tsx      # Note creation with validation
โ”‚   โ”‚   โ”œโ”€โ”€ EditPostModal.tsx       # Inline editing interface
โ”‚   โ”‚   โ”œโ”€โ”€ Header.tsx              # Search and navigation
โ”‚   โ”‚   โ”œโ”€โ”€ PostCard.tsx            # Individual note display
โ”‚   โ”‚   โ””โ”€โ”€ TagInput.tsx            # Tag management component
โ”‚   โ””โ”€โ”€ ๐Ÿ”ง lib/
โ”‚       โ”œโ”€โ”€ supabase.ts             # Supabase client configuration
โ”‚       โ”œโ”€โ”€ supabase-api.ts         # Database operations
โ”‚       โ””โ”€โ”€ types.ts                # TypeScript definitions
โ”œโ”€โ”€ ๐Ÿ“„ public/
โ”‚   โ”œโ”€โ”€ manifest.json               # PWA configuration
โ”‚   โ”œโ”€โ”€ icon-192x192.png           # App icons
โ”‚   โ””โ”€โ”€ icon-512x512.png           # App icons
โ””โ”€โ”€ โš™๏ธ Configuration Files
    โ”œโ”€โ”€ next.config.ts              # Next.js + PWA settings
    โ”œโ”€โ”€ tsconfig.json               # TypeScript configuration
    โ””โ”€โ”€ package.json                # Dependencies and scripts

๐Ÿ—ƒ๏ธ Database Schema

Posts Table

CREATE TABLE posts (
  id BIGSERIAL PRIMARY KEY,
  title TEXT NOT NULL,
  content TEXT NOT NULL,
  author TEXT DEFAULT 'Anonymous',
  created_at TIMESTAMP WITH TIME ZONE DEFAULT NOW(),
  likes INTEGER DEFAULT 0,
  tags TEXT[]
);

Key Features:

  • โœ… Full CRUD Operations - Create, read, update, delete snippets
  • โœ… Array Fields - Efficient tag storage and querying
  • โœ… Automatic Timestamps - Created_at for sorting and insights
  • โœ… Scalable Design - Ready for user authentication

๐ŸŽฏ Core Components

Component Purpose Key Features
๐Ÿ“„ Main Application Central state management Real-time insights, search system, optimistic updates
๐Ÿงฉ CreatePostForm Note creation interface Smart validation, tag management, sticky positioning
๐Ÿ“Š PostCard Individual note display Code highlighting, interactive actions, responsive design
๐Ÿ” Header Navigation and search Glassmorphism design, instant search, brand identity

๐Ÿš€ Quick Start

Prerequisites

  • Node.js 18+
  • Supabase account
  • GitHub account

Local Development

# Clone the repository
git clone https://github.com/MarceloAdan73/DevNotes.git

# Navigate to project directory
cd DevNotes

# Install dependencies
npm install

# Set up environment variables
cp .env.example .env.local

# Start development server
npm run dev

Environment Variables

NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key

Production Deployment

# Create production build
npm run build

# Start production server
npm start

๐Ÿ“ˆ Performance Metrics

Metric Result Description
โšก Load Time Sub-second Optimized Next.js rendering
๐Ÿ“ฑ Mobile Score 100% Perfect mobile responsiveness
๐Ÿ” Search Speed Instant Client-side filtering
๐ŸŽจ Animations 60fps Smooth Framer Motion transitions

๐Ÿ›ก๏ธ Code Quality

  • โœ… Full TypeScript Coverage - Complete type safety
  • โœ… ESLint Configuration - Code quality enforcement
  • โœ… Responsive Components - Mobile-first design
  • โœ… Accessibility Ready - Semantic HTML and ARIA labels

๐ŸŒŸ Deployment Features

Vercel Integration

  • ๐Ÿ”„ Automatic Builds - Triggered by GitHub pushes
  • ๐ŸŒ Global CDN - Fast worldwide access
  • ๐Ÿ”’ SSL Certificate - Automatic HTTPS
  • โš™๏ธ Environment Variables - Secure configuration

PWA Capabilities

  • ๐Ÿ“ฒ Installable - Add to home screen
  • ๐Ÿ”Œ Offline Ready - Service worker caching
  • ๐ŸŽฏ App-like Experience - Fullscreen and standalone modes

๐Ÿ‘จโ€๐Ÿ’ป Author

Marcelo Adan


๐Ÿ™ Acknowledgments

  • Next.js Team - For the incredible React framework
  • Supabase - For the amazing backend-as-a-service
  • Vercel - For seamless deployment experience
  • Tailwind CSS - For the utility-first CSS framework
  • Framer Motion - For beautiful animations

โญ If you find this project helpful, please consider giving it a star!

Built with โค๏ธ using Next.js, Supabase, and modern web technologies.

Releases

No releases published

Packages

 
 
 

Contributors