Full stack, feature rich, modern blogging web application built with Next.js 14
This project uses a modern tech stack that ensures high performance, security, and ease of development:
This stack is chosen to balance performance, scalability, and developer experience.
To run this project, you will need to create a .env
file in the root directory of your project with the following variables. These are divided into sections for clarity.
NEXT_PUBLIC_IMAGE_DOMAINS
: A comma-separated list of domains allowed to host images used in the application (e.g., example.com,cdn.example.com
).For authentication and database management, add the following Supabase environment variables:
NEXT_PUBLIC_SUPABASE_URL
: The URL of your Supabase project.NEXT_PUBLIC_SUPABASE_ANON_KEY
: The public anonymous key for accessing Supabase services.Add this variable in a .env.local
file in the root directory to specify the local SQLite database URL:
DATABASE_URL="file:./dev.db"
: Specifies the location of your SQLite database file.For email notifications and communication, provide the Resend API key:
RESEND_API_KEY
: API key to authenticate and authorize the email-sending service.To avoid potential issues, verify that all variables are correctly set, especially those used for authentication and database connections. Restart the server after any changes to these files to ensure they take effect.
Clone the project
git clone https://github.com/itsteatv/next-js-full-stack-blog.git
Go to the project directory
cd next-js-full-stack-blog
Install dependencies
npm install
Start the server
npm run dev
Homepage
Post Details Page
Post Management
Comments
User Management
Search Functionality
Content Display
Profile Editing
Allow users to update their basic information, including:
Profile Picture Upload
Enable users to upload or update their profile pictures, ensuring:
Public Profile Viewing
Account Settings
Provide options for managing account preferences, such as:
Privacy settings to control visibility of profile elements
Linked accounts for social media or external login providers
Password and Security
Include options for updating passwords and enhancing account security:
Data Management
Allow users to manage their data in compliance with privacy standards:
Meta Tags
Open Graph & Twitter Cards
Alt Text for Images
alt
attributes to all images.Structured Data
Sitemap and Robots.txt
sitemap.xml
file.robots.txt
file to control crawling.Canonical Tags
Image Optimization
Mobile Optimization
Caching
Content Freshness
User Engagement
Analytics Integration
Broken Link Check
Social Signals
Semantic HTML
<article>
, <header>
, etc.) for better structure.Keyboard Navigation
GDPR Compliance
Accessibility Compliance
User Experience (UX)
Voice Search Optimization
Video SEO
Content Diversification
A/B Testing
Competitor Analysis
Link Building
Content Strategy
Regular Audits
User Feedback and Adaptation
Social Media Integration
Monetization
Content Management
User Interaction
Security Features
Performance Optimization
Accessibility Features
Localization and Internationalization
Notifications
Legal and Compliance
Blog Page (Updated)
Dashboard Page (Updated)
Sidebar (Updated)
This project will get bigger and better, so i won't leave it without any update or new features.