Template for Frontend development. Build a web page using SolidJS as frontend framework and Deno as your backend. Clean architecture. No NodeJS required.
.gitignoreGit ignore file.deno.jsonDeno configuration file. Only change this if you know what you are doing.LICENSELicense file.README.mdThis file..githubGitHub configuration directory.build/Build configuration files.esbuild.tsBuild 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.cssThe main app CSS.index.htmlThe main app HTML.index.tsxThe 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.
testTests (no unit tests).e_to_eEnd to End tests for the page.
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.
Use deno task <name_of_the_task>:
buildBuild the page. (recommended)build:watchBuild the page with active file watcher. (recommended)build:devBuild the page for development (without optimization like minification).build:dev:watchBuild the page for development (without optimization like minification) with active file watcher.cache-reloadCache all dependencies.serveServe the builddistdirectory as the page root. (recommended)serve:devServe the builddistdirectory as the page root for development (with verbose logging and directory listing enabled).lintLint the sourcecodetestTest your sourcecode (all.test.tsfile will be checked). A junit report gets generated to./reports/report.xml
deployment.ymlDeploys your current app to GitHub Pages if the name of your repository ends with.github.io. (Ex.github.com/foo/foo.github.io)lint.ymlLints your sourcecode.test.ymlRuns all the unit tests.