- 🌓 Supports dark/light themes
Welcome to add your website to the list #1
- ⚡ Framework - Next.js
- 🧩 Language - TypeScript
- 🌬️ Styling - Tailwind CSS
- 🎛️ UI Library - shadcn/ui
- 🐻 State Management - Zustand
- 🐘 Database - truso
- 🌧️ ORM - Drizzle
- 🗺️ Maps - mapbox
- 🌐 Multi-language - next-intl
- 🔗 API Layer - tRPC
- 🧹 Formatter and Linter - Biome
- 🪝 Git hooks - Lefthook
- 📊 Traffic Analysis - Umami & @vercel/analytics
|
Guoqi Sun |
Warning
Please ensure that all necessary environment variables are correctly configured before running the project.
# Drizzle
DATABASE_PROVIDER="sqlite" # sqlite | turso
DATABASE_URL="file:./db.sqlite"
TURSO_DATABASE_URL=""
TURSO_DATABASE_TOKEN=""
# Strava
STRAVA_CLIENT_ID="119**6"
STRAVA_CLIENT_SECRET="d69695808bd**************bb288"
STRAVA_REFRESH_TOKEN="fdcc5f5fb27********0a103886e39"
# Mapbox
NEXT_PUBLIC_MAPBOX_ACCESS_TOKEN="pk.eyJ1Ijoic3VuZ3V***********************dxVfugnrCSRT2kw"
# Umami
NEXT_PUBLIC_UMAMI_ANALYTICS_ID="****-1d30-4876-8de6-****"
NEXT_PUBLIC_UMAMI_ANALYTICS_JS="https://umami.guoqi.dev/script.js"Note
Variables marked with * are required only when STORAGE_PROVIDER is set to cloudflare-r2. For other storage providers (AWS S3, Vercel Blob), different environment variables will be required.
- Clone the repository
git clone https://github.com/sun0225SUN/cyc-earth.git
cd camlife-
Create a .env file in the root directory, and configure the environment variables as described in the 🚀 Getting Started section.
-
Install dependencies
bun install- Set up the database
bun db:push- Start the development server
bun run devOpen: http://localhost:3000 to see your application.
This project is licensed under the GNU General Public License v3.0.
Contributions are welcome! Feel free to open issues and pull requests.
If you find this project helpful, please give it a ⭐️ on GitHub!
|
|


