Skip to content

Latest commit

 

History

History
65 lines (35 loc) · 2.51 KB

README.md

File metadata and controls

65 lines (35 loc) · 2.51 KB

a11ywatch-web

A11yWatch codecov

The web application for A11yWatch using Rust, Wasm, and Next.js.

example-dashboard.mp4

Installation

Rust is required if you want to build the wasm bundle for the web or the desktop application.

curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh

Install the dev modules normally with yarn.

yarn

Desktop Install

You can also install the desktop application by using tauri and running the following:

Install the tauri-cli with:

cargo install tauri-cli

Start Web or Desktop

You can start the project using docker or local

docker-compose up or yarn run dev

open localhost:3000 in your browser.

or run the desktop application

cargo tauri dev.

API

In order to use the application you need to make sure you have the A11yWatch system running locally. View the compose file to see the micro services used.

Development

Some things to note in development.

Creating Pages

This app uses a meta like way to enhance the build step with auto generated html from the page components. Some of the enhancements require a certain format for Page naming and exports to build the pages correctly. The default export component in the ./pages directory needs to match the route or naming of the file as camel-case.

Environment

Take a look at the Environmental Configuration for configuring project specifics like google authentication.

Translations

At the moment all text is supported for english-en. Help contribute to the translations by sending a PR.

LICENSE

check the license file in the root of the project.