Skip to content

Proof of Concept template source-code generated with @dart-pacotes/.bricks for a SvelteKit application with support for Node.js deployment

Notifications You must be signed in to change notification settings

freitas-labs/svelte-kit-template-with-node-adapter

Repository files navigation

svelte-kit-template-with-node-adapter

Proof of Concept template source-code generated with @dart-pacotes/.bricks for a SvelteKit application with support for Node.js deployment

Hooks

This repository is configured with client-side Git hooks that automatically format + lint the codebase before each push. You can install it by running the following command:

./hooks/INSTALL

Development

Once you've created a project and installed dependencies with npm install, start a development server:

npm run dev

Also, to update the localization files, you will need to run the following command before editing each locale files:

npm run typesafe-i18n

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

Deploy

To deploy your app:

npm run deploy

Alternatively, you can deploy your app within a Docker container. First, build the image:

docker_tag=svelte-kit-template-with-node-adapter:latest
docker build -f ./Dockerfile . -t $docker_tag

Then, spawn a container:

docker run -p 3000:3000 -t $docker_tag

Contact

This template was prepared by:

  • João Freitas, @freitzzz
  • Rute Santos, @rutesantos4

Contact us for freelancing work!

About

Proof of Concept template source-code generated with @dart-pacotes/.bricks for a SvelteKit application with support for Node.js deployment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published