Astro project with static landing page, Svelte SPA app and API using Astro SSR.
- Landing page at
/
that's completely static rendered at build. - Svelte SPA app at
/app
that's rendered completely on client-side. - A simple API
GET /api/counter
using Astro SSR (node adaptor).
Building this project using yarn build
will produce:
dist/client
dist/server
To run the app, node dist/server/entry.mjs
can be used.