https://github.com/linhub15/linksapp
Static site backend services. Clone of Linktree + Formspree
https://github.com/linhub15/linksapp
deno
Last synced: 2 months ago
JSON representation
Static site backend services. Clone of Linktree + Formspree
- Host: GitHub
- URL: https://github.com/linhub15/linksapp
- Owner: linhub15
- Created: 2024-10-31T05:45:48.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-02-19T21:14:38.000Z (over 1 year ago)
- Last Synced: 2025-04-05T19:41:44.121Z (about 1 year ago)
- Topics: deno
- Language: TypeScript
- Homepage:
- Size: 546 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Linktree Clone
An over architected clone of linktree to showcase systems design and bleeding
edge technology.
Uses [Deno 2](https://deno.com/).
## Dev
- start the db `deno task db`
- start the api `deno task api`
- start the ui `deno task ui`
- update db schema `deno task drizzle push`
View the db with https://libsqlstudio.com
### Buzzwords
- Hexagonal, Clean Architecture, Screaming Architecture
- RESTful API
- DB ORM
- Monorepo
- Integration Tests
- Errors as values
- OAuth2 PKCE
### Backend Tech
- Hono
- Zod
- Drizzle ORM
- Turso LibSQL (sqlite)
- tRPC server
### Frontend Tech
- Vite + React
- tRPC client
- Tanstack Query
- Tanstack Form
- Tanstack Router
- Tailwind v4
- Tailwindlabs - Catalyst UI Kit
#### Features
- POST endpoint to submit forms
- email notification
### Devops, CI/CD
- Docker
## Setup
- Install deno
- Install turso cli
- Setup environment variables for `api` with `cp ./api/.env/example ./api/.env`
- `docker build -t linksapp -f api.dockerfile .`