Food Blog

C# / Razor Pages / SQL / JWT / PWA

About Project

This project is a digital platform designed to manage healthy eating in an easy, secure, and modern way. Through the platform, personalized 21-day healthy meal plans are created for users and provided online in PDF format. Each user accesses the system through a personal account. For security purposes, an active session system is implemented for each user, allowing login from only one device at a time. This approach helps prevent unauthorized sharing and use of the content. The platform features a subscription system. Users gain access to the meal plans and services for as long as their subscription is active. Once the subscription expires, access to the content is automatically restricted. The prepared meal plans are protected by copyright, and each PDF document is presented to the user with a watermark containing personal information (such as email and other identifiers). This ensures both legal and technical protection of the content. The platform is built using PWA (Progressive Web App) technology. As a result, users can: install the site as an app on their phone or computer, use core functions offline, and enjoy a fast and convenient user experience. Through the project’s Admin Panel, administrators can: create and manage 21-day meal plans, monitor users and subscriptions, securely manage PDF documents, and update website content (texts, sections, design elements, etc.) in a fully centralized manner. This platform provides a convenient and secure healthy eating experience for users while offering administrators a flexible and manageable system. The platform’s stability and scalability are ensured through modern DevOps practices. The entire application is containerized using Docker, providing a consistent and isolated environment across development and production servers. Server management is handled securely via SSH protocols. To ensure seamless updates and high availability, a CI/CD (Continuous Integration and Continuous Deployment) pipeline has been implemented using GitHub Actions. This automation framework automatically tests, builds, and deploys code changes to the server in real-time, eliminating manual intervention and ensuring that the latest features and security patches are delivered to users without downtime.

Please note that for security reasons, the code/project is not fully shared.

Features

21-day personalized meal plans
Secure login and session management
Subscription system
Copyright-protected PDFs
PWA support and Admin Panel
Isolated environment with Docker containers
Fast Deployment via SSH and Docker
Automated CI/CD process with GitHub Actions
Automated code testing and server integration

Technologies Used

ASP.NET Core | Razor Pages

JWT

SQL Server

Role-based Avtorizasiya

EF Core Code First

AutoMapper (DTOs)

Docker & Containers

Linux SSH Deployment

GitHub Actions CI/CD

Project-related Media

Screenshot 3
Code Sample
Screenshot 3
Code Sample-DockerCompose/Dockerfile

Demo 1: Admin Panel
Demo 1: Responsive Web Design
Demo 1: PWA test - Mobile