slopsite/readme.md
2025-02-27 10:34:17 +02:00

11 lines
No EOL
917 B
Markdown

# slop website monorepo
| Subdirectory | Description | |
|--------------|---------------------------------------------------------------------------------------------|---|
| api | This is the API for the website. It's routes are very simple, you can see in index.ts them. | |
| website | The website. It uses svelte, and is very simple, single page PWA. | |
| | | |
- API: Run via `cd api; bun run index.ts`, available at port 3000 by default, change with environment variable PORT. Make sure that .env is filled with required info. Check `.env.example`.
- Website: Run `bun run build`, copy `build/` to webroot. api.slop.live is used by default, you can use a different API link.