About This Project
Welcome to Blog App
This is a modern, full-stack blog application built to demonstrate best practices in web development. It showcases the power of combining a robust backend with a sleek, responsive frontend.
The application allows users to create, read, and browse blog posts with a clean and intuitive interface. Behind the scenes, it leverages caching for optimal performance and a reliable database for data persistence.
Technology Stack
Backend
- āNode.js & Express.js
RESTful API with Express framework
- āPostgreSQL
Reliable relational database for data storage
- āPrisma ORM
Type-safe database client with migrations
- āRedis
In-memory caching for improved performance
Frontend
- āNext.js 16
React framework with App Router
- āTypeScript
Type-safe JavaScript for better development
- āTailwind CSS
Utility-first CSS framework for styling
Key Features
Fast Performance
Redis caching ensures quick response times
Responsive Design
Works seamlessly on all devices
Error Handling
Comprehensive error handling and validation
Clean UI/UX
Intuitive and modern user interface
Architecture
āāāāāāāāāāāāāāāāāāāāāāā
ā Next.js Frontend ā ā You are here
ā (Port 3000) ā
āāāāāāāāāāāā¬āāāāāāāāāāā
ā HTTP/REST API
ā¼
āāāāāāāāāāāāāāāāāāāāāāā
ā Express Backend ā
ā (Port 5001) ā
āāāāāāāāāāāā¬āāāāāāāāāāā
ā
āāāāāāāāāāāāāāāāāāāāāāā
ā ā
ā¼ ā¼
āāāāāāāāāāāāāāāāāāāā āāāāāāāāāāāāāāāāāāāā
ā PostgreSQL ā ā Redis ā
ā (Port 5432) ā ā (Port 6379) ā
āāāāāāāāāāāāāāāāāāāā āāāāāāāāāāāāāāāāāāāāAPI Endpoints
/health- Check system health/posts- Create a new post/posts- Get all posts/posts/:id- Get specific post