https://github.com/verydanny/cuapp
https://github.com/verydanny/cuapp
Last synced: 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/verydanny/cuapp
- Owner: verydanny
- Created: 2024-11-20T09:08:11.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-02-19T22:40:43.000Z (3 months ago)
- Last Synced: 2025-03-12T20:42:19.127Z (2 months ago)
- Language: Svelte
- Size: 2 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# CU App
This is a SvelteKit social network app. It's built with:
- Bun
- Deno
- Appwrite 1.6.1
- SvelteKit
- TailwindCSS
- DaisyUIThe backend/database is Appwrite, and the SvelteKit runtime will be Deno. It uses Bun for the build/development process, simply for the package manager.
## Development
Make sure Appwrite 1.6.1 is running locally.
**Create a `.env.local` file in the root of the project with the following variables:**
```bash
PUBLIC_APPWRITE_ENDPOINT=http://localhost:3000/v1 # or your endpoint
PUBLIC_APPWRITE_PROJECT=your-project-id
APPWRITE_KEY=your-secret-key
```**Install Appwrite CLI:**
```bash
bun add -g appwrite-cli
```**Modify the `.appwrite/appwrite.json` file to match your project.**
```json
{
"projectId": "your-project-id",
...rest of the file
}
```**Sync the Appwrite project with the following command:**
```bash
cd .appwrite
appwrite push all
```**Install dependencies and run the development server:**
```bash
bun install
bun run dev
```## Deployment
```bash
bun run build
bun run preview # for local testing
```