A free, open-source, proof-of-concept social audio app, similar to Clubhouse & Twitter Spaces.
This repository contains the project files for the blog post: How to build your own Social Audio chat application
Fork this repository, read the blog post and follow the tutorial to build the app!
- A laptop or a desktop computer
- Chrome browser
- Internet connectivity
-
Install PostgreSQL I highly recommend a Docker installation:
- Install Docker
- Download and run the official PosgreSQL/PostGIS docker image
Alternatively, you can perform an installation directly on the host operating system:
- Download the official PostgreSQL installer for your system.
-
Start PostgreSQL database service If you're using a docker installation, run
docker run --name clubhouse-postgres -e POSTGRES_PASSWORD=mysecretpassword -d -p 5432:5432 postgis/postgis
. -
Install Node.js.
-
Clone or fork this repo.
-
Run
npm install
in your project root. -
Run
npm start
to start the app server.
- SSH into your Postgres docker container:
docker exec --user postgres -it clubhouse-postgres /bin/bash
(Skip this step if you have a native PostgreSQL installation). - Run
psql
on the terminal.