Gamified online chat. Walk and make new friends.
1-mile is a gamified online chat application that connects you with nearby strangers. The two participants in a chat only know the distance between them and are encouraged to guess each other’s location. As they chat and walk towards each other, the distance updates. The game ends when they meet in real life.
Users are encouraged to walk and meet in real life. It’s healthy, fun, and a great way to make new friends.
Strangers must be within 1 to 8 miles of each other to be connected. The distance is calculated using the Haversine great-circle distance formula.
- Clone the repository. Set the environment variables listed in the
.env.example
file. You may rename this to.env
and set the values. - Run
npm install
within the cloned repository. Also, install the dependencies in the frontend directory using the same command. - Build the project using
npm run build
. - Run
docker-compose up
within the cloned repository. - Open
localhost:3000
in your browser. - You can now simulate another browser tab with a different location or use another physical device on your local network.
- Clone the repository. Set the environment variables listed in the
.env.example
file. You may rename this to.env
and set the values. - Configure a PostgreSQL database with the PostGIS extension.
- Run
npm install
within the cloned repository. Also, install the dependencies in the frontend directory using the same command. - Run
npm build
andnpm run dev
within the cloned repository. - Open
localhost:3000
in your browser. - You can now simulate another browser tab with a different location or use another physical device on your local network.