Web App of ID Share project.
Make sure to have installed rust
in your machine before proceding. If you don't have rust
installed, you can use the command below to install it:
curl --proto '=https' --tlsv1.3 https://sh.rustup.rs -sSf | sh
- Clone the repository locally using the git clone command:
git clone https://github.com/ErroFerro/id-share-frontend.git
- Inside the project folder, install all the dependencies:
npm install
- Navigate inside the
src/ibe
folder and run these commands one by one:
#Compile local packages and all of their dependencies.
cargo build
#Download and install a tool named 'wasm-pack'.
cargo install wasm-pack
#Compile the code to WebAssembly
wasm-pack build --target web
- Modify the
.env
file using your Google OAuth keys and your own Firestore configuration. - To run the project run the command:
npm run dev
- To build the project run the command:
npm run build
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.