Template for Frontend development. Build a web page using SolidJS as frontend framework and Deno as your backend. Clean architecture. No NodeJS required.
.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.config
Project specific config files (not part of sourcecode).deno.lock
Lock file for all dependencies.import_map.json
Import map for all imports.build
Build configuration files.copy_files_extension_filter.json
JSON array of extensions for files that should be copied to the dist folder.index.ts
Build configuration for esbuild. Only change this if you know what you are doing.
types
Project type declarations....
Declaration.
doc
Documentation for the page....
Doc.
src
All sourcecode.client
Sourcecode for the client....
Client files.
server
Sourcecode for the server....
Server files.
test
Tests (no unit tests).e_to_e
End to End tests for the page.
Warning
There is currently an issue with the global variable document
. Link to issue.
Checkout the template and run initial deno task cache
. This will cache 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>
:
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
Cache all dependencies.serve
Serve the builddist
directory as the page root. (recommended)serve:dev
Serve the builddist
directory as the page root for development (with verbose logging and directory listing enabled).lint
Lint the sourcecodetest
Test your sourcecode (all.test.ts
file will be checked). A junit report gets generated to./reports/report.xml
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.