Logsy is a modern, full-stack blogging platform built with Java Spring Boot and React. It features magic link authentication, rich content creation, and smooth user experience powered by Supabase and Resend.
- βοΈ Clean and responsive blogging interface
- π Passwordless magic link login via JWT
- βοΈ Supabase Storage for images and media
- π§ Transactional emails via Resend (login, activation)
- π§© Modular backend structure with Spring Boot
- π€ User profiles with avatars, bios, and more
| Layer | Stack |
|---|---|
| Frontend | React, Tailwind CSS, ShadCN UI |
| Backend | Java Spring Boot (REST API) |
| Auth | Magic Link with JWT |
| Database | Supabase PostgreSQL |
| Storage | Supabase Buckets |
| Emails | Resend (Transactional API) |
- User provides their email
- Backend generates a short-lived JWT token
- The token is embedded in a magic link and emailed via Resend
- When the user clicks the link, the frontend hits the backend endpoint with the token
- Spring Boot validates the JWT and authenticates the user
β No Supabase Auth is used β the entire authentication logic is managed by Spring Boot and JWT.
git clone https://github.com/your-username/logsy-backend.git
cd logsy-backend
cp .env.example .env # Create your environment file
./mvnw spring-boot:runβ The backend serves all API routes, handles authentication, media uploads, and sends emails.
Create a .env file in the root of the backend folder and define the following variables:
SUPABASE_PROJECT_URL=https://your-project.supabase.co
SUPABASE_DB_USERNAME=your_db_username
SUPABASE_DB_PASSWORD=your_db_password
SUPABASE_BUCKET_URL=https://your-project.supabase.co/storage/v1
RESEND_API_KEY=your-resend-api-keyπ‘ These are consumed in
application.propertiesor injected via@Value.
logsy-backend/
βββ src/
β βββ main/
β β βββ java/com/spring/blog_application/
β β β βββ aspects/
β β β βββ controller/
β β β βββ dto/
β β β βββ model/
β β β βββ repository/
β β β βββ security/
β β β βββ service/
β β β βββ utils/
β β β βββ BlogApplication.java
β β βββ resources/
β β βββ keys/
β β βββ static/
β β βββ templates/
β β βββ application.properties
β βββ test/
βββ Dockerfile
βββ pom.xml
βββ .gitignore
βββ mvnw / mvnw.cmd
Made with β€οΈ by Koustubh Karande Reach out on LinkedIn
This project is licensed under the MIT License β see LICENSE.