Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brandonroberts/analog-bun-ssr-example
An example repo using Analog and Angular + SSR w/Bun
https://github.com/brandonroberts/analog-bun-ssr-example
Last synced: 3 months ago
JSON representation
An example repo using Analog and Angular + SSR w/Bun
- Host: GitHub
- URL: https://github.com/brandonroberts/analog-bun-ssr-example
- Owner: brandonroberts
- Created: 2024-03-24T18:38:41.000Z (10 months ago)
- Default Branch: main
- Last Pushed: 2024-05-31T13:14:05.000Z (8 months ago)
- Last Synced: 2024-10-12T22:58:42.567Z (3 months ago)
- Language: TypeScript
- Size: 265 KB
- Stars: 7
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Analog + SSR + Bun Example
This project was generated with [Analog](https://analogjs.org), the fullstack meta-framework for Angular.
## Setup
Run `bun install` to install the application dependencies.
## Development
Run `bun --bun vite` for a dev server. Navigate to `http://localhost:5173/`. The application automatically reloads if you change any of the source files.
## Build
Run `bun --bun vite build` to build the client/server project. The client build artifacts are located in the `dist/analog/public` directory. The server for the API build artifacts are located in the `dist/analog/server` directory.
## Serve SSR Build
Run `bun serve:ssr` to serve the built SSR application with Bun. Run the command, and navigate to http://localhost:3000.
## Test
Run `bun --bun test` to run unit tests with [Bun](https://bun.sh) using [happy-dom](https://github.com/capricorn86/happy-dom).
## Community
- Visit and Star the [GitHub Repo](https://github.com/analogjs/analog)
- Join the [Discord](https://chat.analogjs.org)
- Follow us on [Twitter](https://twitter.com/analogjs)
- Become a [Sponsor](https://github.com/sponsors/brandonroberts)