https://github.com/brandonroberts/analog-supabase-ssr
An example application that uses Analog, Angular, and Supabase SSR
https://github.com/brandonroberts/analog-supabase-ssr
Last synced: about 2 months ago
JSON representation
An example application that uses Analog, Angular, and Supabase SSR
- Host: GitHub
- URL: https://github.com/brandonroberts/analog-supabase-ssr
- Owner: brandonroberts
- Created: 2024-12-04T19:23:48.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2025-01-08T16:32:58.000Z (5 months ago)
- Last Synced: 2025-04-06T13:51:58.519Z (2 months ago)
- Language: TypeScript
- Size: 220 KB
- Stars: 8
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Analog + Angular + Supabase SSR
This is an example application that uses Analog, Angular, and [Supabase](https://supabase.com) for authentication, database access, and SSR.
## Setup
Run `npm install` to install the application dependencies.
## Supabase Setup
- Create a new project in Supabase.
- Go to your Supabase dashboard and run the `Countries` Quickstart.
- Copy the `.env.example` to `.env` and fill in the Supabase environment variables from your `API settings`.
- Add a user with `email/password` under the `Authentication` section.## Development
Run `npm start` for a dev server. Navigate to `http://localhost:5173/`. The application automatically reloads if you change any of the source files.
## Build
Run `npm run 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.
## Test
Run `npm run test` to run unit tests with [Vitest](https://vitest.dev).
## 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)