Skip to content

JavaScriptPlayground/ui-toolkit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Template

Template for Frontend development. Build a web page using SolidJS as frontend framework and Deno as your backend. Clean architecture. No NodeJS required.

Run Linter Run Unit Tests Deploy GitHub Pages

Overview

  • .gitignore Git ignore file.
  • deno.json Deno configuration file. Only change this if you know what you are doing.
  • LICENSE License file.
  • README.md This file.
  • .github GitHub configuration directory.
  • build/ Build configuration files.
    • esbuild.ts Build configuration for esbuild. Only change this if you know what you are doing.
  • docs/ Documentation for the page.
    • ... Doc.
  • src/ All sourcecode.
    • client/ Sourcecode for the client.
      • index.css The main app CSS.
      • index.html The main app HTML.
      • index.tsx The main app TSX.
      • assets/ Assets for the main page.
      • pages/ Pages for the main app.
        • 404/ "Not Found" page.
        • home/ "Home" page.
        • .../ Pages.
          • assets/ Assets for the specific page.
      • static/ Static assets for all pages.
      • ... Client files.
    • server/ Sourcecode for the server.
      • ... Server files.
  • test Tests (no unit tests).
    • e_to_e End to End tests for the page.

Usage

Getting started

Checkout the template and run initial deno install. This will install all the necessary dependencies. If you still getting import errors, try reloading the "import registries cache".

Next you can build your app using deno task build.

After that your app is ready to serve by using deno task serve.

Tasks

Use deno task <name_of_the_task>:

  • build Build the page. (recommended)
  • build:watch Build the page with active file watcher. (recommended)
  • build:dev Build the page for development (without optimization like minification).
  • build:dev:watch Build the page for development (without optimization like minification) with active file watcher.
  • cache-reload Cache all dependencies.
  • serve Serve the build dist directory as the page root. (recommended)
  • serve:dev Serve the build dist directory as the page root for development (with verbose logging and directory listing enabled).
  • lint Lint the sourcecode
  • test Test your sourcecode (all .test.ts file will be checked). A junit report gets generated to ./reports/report.xml

GitHub Workflows

  • deployment.yml Deploys your current app to GitHub Pages if the name of your repository ends with .github.io. (Ex. github.com/foo/foo.github.io)
  • lint.yml Lints your sourcecode.
  • test.yml Runs all the unit tests.

License

GPL Version 3.0 Copyright (C) 2025 Max

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published