Go to file
Brian Ginsburg 102ecd9b3e
Cleanup and refactoring (#60)
* Use production infra

* Move theme out of subdirectory

* Remove unused example test

* Separate webnative module into init and account

* Move state off of module global state

* Move utils out of common directory

* Organize imports consistently

* Replace last remaining Toast with a Notification

* Rename theme to themeStore

Renaming keeps the theme store naming consistent with the other stores.

* Replace uuid helper with WebCrypto randomUUID

* Enfore minimum node version at >=16.9

* Refactor delegate-account and link-device routes

Use component views for consistency with the other routes

* Use FilesystemActivity component in Register

* Remove console logs

* Add extractSearchParam

Generalizes extracting a search param from a URL.

* Hide app name in header on mobile

* Remove deviceStore

We weren't using it in the app. Mobile styles are handled with tailwind
utility classes.

* Add social preview image

* Remove navigate event from AreYouSure component

The event was unused.

* Replace convertUint8ToString with uint8arrays

* Add initializeFilesystem

Separates out app-specific resource creation from the required
registration code

* Allow minor webnative version upgrades

* Update package-lock.json
2022-09-15 12:52:24 -07:00
.github Deploy to Netlify with redirect support (#50) 2022-08-31 10:10:04 -04:00
src Cleanup and refactoring (#60) 2022-09-15 12:52:24 -07:00
static Cleanup and refactoring (#60) 2022-09-15 12:52:24 -07:00
.DS_Store Boilerplate svelte app 2022-07-14 11:41:33 -07:00
.eslintignore Remove extraneous ignored files 2022-07-20 16:35:24 -04:00
.eslintrc.cjs Disable recommended-requiring-type-checking rule 2022-07-14 12:26:46 -07:00
.gitignore Boilerplate svelte app 2022-07-14 11:41:33 -07:00
.npmrc Cleanup and refactoring (#60) 2022-09-15 12:52:24 -07:00
.prettierrc.cjs Set prettier htmlWhitespaceSensitivity to ignore 2022-07-22 15:26:43 -07:00
LICENSE Initial commit 2022-01-19 08:31:25 -08:00
README.md Deploy to Netlify with redirect support (#50) 2022-08-31 10:10:04 -04:00
package-lock.json Cleanup and refactoring (#60) 2022-09-15 12:52:24 -07:00
package.json Cleanup and refactoring (#60) 2022-09-15 12:52:24 -07:00
postcss.config.cjs Boilerplate svelte app 2022-07-14 11:41:33 -07:00
svelte.config.js Deploy to Netlify with redirect support (#50) 2022-08-31 10:10:04 -04:00
tailwind.config.cjs Cleanup and refactoring (#60) 2022-09-15 12:52:24 -07:00
tsconfig.json Reformatting all the files that prettier missed 2022-07-20 16:47:18 -04:00
tsnode-loader.js Boilerplate svelte app 2022-07-14 11:41:33 -07:00
vite.config.ts Reformatting all the files that prettier missed 2022-07-20 16:47:18 -04:00

README.md

Webnative App Template

Netlify Status

A web app template for Webnative.

Setup

Install dependencies.

npm install

Develop

Work on the application in local development.

npm run dev

Navigate to http://localhost:5173 in your web browser.

Build

Export a static build.

npm run build

The build outputs the static site to the build directory.

Publish

NOTE: SvelteKit Single-Page Applications require redirects in order to support routing. This is not currently supported by IPFS, so the Fission Publish GitHub action is not currently supported.

The Webnative Template App demo is currently hosted on Netlify, but it should be supported on any static hosting platform (Vercel, Cloudflare Pages, etc).

In order to deploy your own Webnative application on Netlify, simply create a new Netlify site connected to your app's repository and Netlify will take care of the rest. No Netlify-specific configuration is needed.

Customize

  • app.html - the SEO meta tags will need to be changed.
  • lib/app-name.ts - choose a better application name
  • To customize the application's Tailwind theme, change tailwind.config.ts - link to DaisyUI customization page.