Svelte Kit Ssr Boilerplate screenshot

Svelte Kit Ssr Boilerplate

Updated: 5 Jun 2021
37 Stars

Svelte server-side-rendering built with SEO in mind. Start your project with this friendly svelte kit boilerplate

Categories

Overview:

The Svelte Kit SSR Boilerplate is a project template designed to help developers start building Svelte applications with server-side rendering (SSR) and search engine optimization (SEO) in mind. It provides a pre-configured setup with features such as browser sync, auto reload, and a user-friendly folder structure. The boilerplate is powered by the Svelte Kit framework and is written in TypeScript. It also includes support for translations in English, Italian, and Polish.

Features:

  • Easy to use: The boilerplate provides a friendly and easy-to-use starting point for Svelte projects.
  • MIT License: The project is licensed under the MIT License, allowing for flexibility and freedom to use and modify the code.
  • Server-side rendering built with SEO in mind: The SSR implementation in the boilerplate is designed to prioritize search engine optimization.
  • Browser sync, auto refresh, auto reload: The boilerplate includes features to automatically sync the browser, refresh the page, and reload the server during development.
  • Friendly boilerplate + Github templates: The boilerplate can be used as a starting point or template for new projects, providing a solid foundation with correct configuration and readme instructions.
  • Powered by Svelte Kit framework: The boilerplate is built on the Svelte Kit framework, leveraging its features and benefits for building Svelte applications.
  • Without jQuery dependence: The boilerplate does not have any dependencies on jQuery, reducing unnecessary bloat and improving performance.
  • Typescript + TSPaths preconfigured: TypeScript is preconfigured in the boilerplate, offering static typing and improved developer experience. TSPaths are also configured for easy import paths.
  • Userfriendly folders tree: The folder structure in the boilerplate is designed to be user-friendly and intuitive, making it easier to navigate and organize code.
  • Prettiers and ESLint preconfigured: Code formatting and linting tools such as Prettiers and ESLint are preconfigured in the boilerplate, helping to ensure consistent code style and quality.
  • all-contributors-cli and all-shields-cli preconfigured: The boilerplate includes preconfigured tools for managing contributors and generating shields, making it easier to acknowledge and showcase contributions.
  • JEST Test preconfigured: The boilerplate comes with preconfigured JEST for writing and running tests, enabling robust testing of the application.
  • Full async code: The boilerplate supports writing and working with asynchronous code, providing flexibility and efficiency in handling operations.
  • Github and Vscode dotfiles preconfigured: The boilerplate includes preconfigured files for GitHub and VSCode, facilitating seamless integration and setup with these tools.
  • HTTP/HTTPS support: The boilerplate supports both HTTP and HTTPS protocols, allowing for secure communication and compatibility with various hosting environments.
  • Translations i18n: 🇬🇧 🇮🇹 🇵🇱: The boilerplate includes support for translations in English, Italian, and Polish, making it easier to create multilingual applications.

Installation:

To use the Svelte Kit SSR Boilerplate, follow these steps:

  1. Clone this repository or download the desired version (nightly, beta, or stable).
  2. Run npm run init to initialize the project.
  3. Run npm run dev or npm run dev-https (assuming you have mkcert) to start the development server.
  4. Access the application at http://localhost:5000 or https://localhost:5000.

Summary:

The Svelte Kit SSR Boilerplate provides a solid starting point for building Svelte applications with server-side rendering and search engine optimization. With its preconfigured setup and key features such as browser sync, translations, and a user-friendly folder structure, the boilerplate aims to simplify the development process and improve the overall experience for developers. It is built on the Svelte Kit framework and offers support for TypeScript, making it a powerful choice for building modern, performant, and SEO-friendly applications.