Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/vplasencia/semaphore-nodejs
Example of project using Semaphore v3 in Node.js.
https://github.com/vplasencia/semaphore-nodejs
Last synced: about 1 month ago
JSON representation
Example of project using Semaphore v3 in Node.js.
- Host: GitHub
- URL: https://github.com/vplasencia/semaphore-nodejs
- Owner: vplasencia
- Created: 2023-10-01T17:48:35.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-07T17:20:25.000Z (9 months ago)
- Last Synced: 2024-04-28T01:26:29.170Z (7 months ago)
- Language: TypeScript
- Homepage:
- Size: 1.09 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Semaphore in Node.js
This is an example of project using [Semaphore](https://semaphore.pse.dev/) in Node.js.
## Run Locally
### Clone the Repository
```bash
git clone https://github.com/vplasencia/semaphore-nodejs.git
```### Install dependencies
```bash
yarn
```### Download the Semaphore snark artifacts
```bash
yarn download:snark-artifacts
```### Run the identities file
```bash
yarn identities
```### Run the groups file
```bash
yarn groups
```### Run the proofs file
```bash
yarn proofs
```### Code quality and formatting
Run [ESLint](https://eslint.org/) to analyze the code and catch bugs:
```bash
yarn lint
```Run [Prettier](https://prettier.io/) to check formatting rules:
```bash
yarn prettier
```Or to automatically format the code:
```bash
yarn prettier:write
```