Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/audiusproject/hedgehog-demo
Demo for Audius Hedgehog
https://github.com/audiusproject/hedgehog-demo
Last synced: about 1 month ago
JSON representation
Demo for Audius Hedgehog
- Host: GitHub
- URL: https://github.com/audiusproject/hedgehog-demo
- Owner: AudiusProject
- License: other
- Created: 2019-05-14T18:33:59.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-10T05:44:36.000Z (about 2 years ago)
- Last Synced: 2023-03-02T22:51:25.566Z (almost 2 years ago)
- Language: JavaScript
- Homepage: https://github.com/AudiusProject/hedgehog
- Size: 1.26 MB
- Stars: 11
- Watchers: 5
- Forks: 8
- Open Issues: 13
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Audius Hedgehog Demo
Client and server demo for [Audius Hedgehog](https://github.com/AudiusProject/hedgehog) written using React, node.js, Express and Postgres.For documentation, please read the [Hedgehog docs](https://audius-project.github.io/hedgehog-docs).
## Demo with a Firebase backend 🌐
The [client-firebase](/client-firebase) folder contains a simple authentication app written in React using Hedgehog that connects to a Firebase backend.
A deployment of the client code against a Firebase backend can be found on [CodeSandbox](https://codesandbox.io/embed/pp9zzv2n00).
## Demo with a local backend 💻
The [client](/client) folder contains a simple authentication app written in React using Hedgehog (largely identical to /client-firebase).
The [server](/server) folder demonstrates the database structure and server endpoints to persist information while using the Hedgehog module.
To run, make sure you have Docker installed.
```
docker-compose up
```Once the server has started, visit `http://localhost:8000`
To make changes to /client or /server, run
```
docker-compose up --build
```**NOTE**: If you're running the demo on windows or linux, you may need to change the `dbUrl` property in `server/default-config.json`. Docker for Mac needs special networking so the host is set to `docker.for.mac.localhost`. https://docs.docker.com/v17.09/docker-for-mac/networking/