An open API service indexing awesome lists of open source software.

https://github.com/verydanny/cuapp


https://github.com/verydanny/cuapp

Last synced: 2 months ago
JSON representation

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
- DaisyUI

The 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
```