https://github.com/adityadwinugroho/journal-app
Journal app in Rust with Axum, PostgreSQL, JWT auth, and Askama templates.
https://github.com/adityadwinugroho/journal-app
axum codespaces fullstack journal postgresql rust web-app
Last synced: about 2 months ago
JSON representation
Journal app in Rust with Axum, PostgreSQL, JWT auth, and Askama templates.
- Host: GitHub
- URL: https://github.com/adityadwinugroho/journal-app
- Owner: AdityaDwiNugroho
- License: mit
- Created: 2025-08-01T15:18:24.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2025-08-01T16:29:24.000Z (11 months ago)
- Last Synced: 2025-08-24T11:03:06.425Z (10 months ago)
- Topics: axum, codespaces, fullstack, journal, postgresql, rust, web-app
- Language: HTML
- Homepage:
- Size: 35.2 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Journal App
> A minimalist journal platform built with Rust
## Features
- User authentication & profiles
- Rich text journal editor
- Draft, private, and public journals
- Follow other users
- Responsive design
## Quick Start
**GitHub Codespaces (Recommended)**
1. **Optional: Set up production database**
- Create free database at [neon.tech](https://neon.tech)
- Go to repo **Settings** → **Secrets** → **Codespaces**
- Add `DATABASE_URL` and `JWT_SECRET` secrets
2. Click "Code" → "Codespaces" → "Create codespace"
3. Run setup: `chmod +x setup-codespace.sh && ./setup-codespace.sh`
4. Start app: `cargo run`
5. Access via forwarded port 3000
**Local Development**
```bash
# Clone and run
git clone https://github.com/AdityaDwiNugroho/journal-app.git
cd journal-app
# Setup environment
cp .env.example .env
# Edit .env with your database settings
cargo run
```
Visit `http://localhost:3000`
## Tech Stack
- **Rust** + Axum
- **PostgreSQL** with SQLx
- **Askama** templates
- **JWT** authentication
## Deploy
**Railway + Neon (recommended)**
1. Create database at [neon.tech](https://neon.tech)
2. Deploy to [railway.app](https://railway.app)
3. Set `DATABASE_URL` and `JWT_SECRET` env vars
## License
MIT
## Author
Made by [Aditya Dwi Nugroho](https://teer.id/adityadwinugroho)