A private space for two β share one note a day and keep your hearts in sync.
React + Node.js + PostgreSQL + Railway
YaΔmuΕ App is a minimalist, two-user web application built to strengthen communication through daily notes.
Each user can post only one note per day.
If both users share a note on the same day, the daily streak continues β symbolizing emotional consistency over time π«
- Only two private accounts exist.
- Each user may post one note per day.
- When both users post on the same day, the streak increases by +1.
- The dashboard displays:
- Current and best streak counts
- Recent notes from both users
- βLeave a Noteβ input area
- Partner username
| Layer | Technology | Description |
|---|---|---|
| π¨ Frontend | React (CRA) + Axios + CSS | Responsive UI, API communication |
| βοΈ Backend | Node.js + Express | REST API + business logic |
| ποΈ Database | PostgreSQL / SQLite (via Railway) | Stores notes and user info |
| π Auth | JWT (JSON Web Token) | Secure login / session handling |
| βοΈ Hosting | Railway | Full-stack deployment (frontend + backend) |
- Responsive Design: Optimized for mobile, tablet, and desktop
- Minimal UI: Soft purple tones
#667eea, rounded cards, clean spacing - Features:
- Dashboard (streak + recent notes)
- Login / Register pages
- PWA support (installable app, custom icons, manifest)
- Friendly Messages:
If a user tries to post a second note, a soft alert appears:βYouβve already shared your note today π Itβs saved in their heart πβ
- Express.js REST API with modular structure
- JWT authentication middleware
- One-note-per-day rule enforced with status
409 - UTF-8 support (emojis ππ₯πΈ handled safely)
- CORS restricted to approved domains
- Optional React build serving for full-stack hosting
| Method | Endpoint | Description |
|---|---|---|
GET |
/api/health |
API status ({"ok":true}) |
POST |
/api/register |
Register a new user |
POST |
/api/login |
Authenticate and return JWT token |
GET |
/api/notes |
List all notes |
POST |
/api/notes |
Add a note (JWT required, 1 per day) |
Frontend β https://yagmusapp.up.railway.app
Backend β https://yagmusappv100-backend-production.up.railway.app
Frontend Build Settings
Root Directory: /frontend
Publish Directory: build
Start Command: npx serve -s build -l $PORT1. Clone git clone https://github.com/UmutOZCN/YagmusAppV1.0.0.git
2. Install backend dependencies cd backend npm install
3. Install frontend dependencies cd ../frontend npm install
4. Run backend npm start
5. Run frontend cd ../frontend npm start
π’ Backend β http://localhost:3001 π£ Frontend β http://localhost:3000
[Daily Streak: 127 π₯]
Both of you shared your notes today β the streak continues π
--------------------------------------------------------------
You: βThe weather was perfect today πβ
Partner: βI thought the same βοΈβ
![]() Dashboard |
![]() Login |
![]() Logo |
![]() Alert |
Name: Umut Γzcan
Version: 1.0.0
Description:
A minimalist web application designed to connect two people through daily notes.
Technically solid β emotionally genuine π
This project is licensed under the MIT License.
This project was created for personal use only.
Redistribution or commercial use is not permitted without permission.
Made with π by Umut Γzcan
βOne note a day keeps the distance away.β





