Both the public website and admin panel are statically generated. Powered by SvelteKit.
The admin panel is using a REST API that runs as a node server. Powered by Directus.
Directus turns an SQL database into a REST API.
npm run start
(docs)
Heimdall is a server that performs actions based on the information from the admin panel.
npm run dev
npm run dev
(docs)
Configure a tool like nginx. Make sure you run everything on HTTPS.
Serve SvelteKit on port 80.
Serve Directus on port 8055.
Serve Heimdall on port 999.
- Clone this repo to the server.
- Read the official docs on Directus deployment.
- Run Heimdall. (
npm run start
)
Consider running the backend with pm2.
- Clone this repo to the server.
- Build (
npm run build
) and run the node server.