Skip to content

trojinx/handshex

Repository files navigation

Handshex

Handshex is a web application for creating, verifying, and tracking informal agreements ("contracts") between users.

Setup with Docker

Prerequisites

  • Docker installed on your system.
  • A running MongoDB instance (local or cloud, e.g., MongoDB Atlas).

1. Clone the Repository

git clone https://github.com/trojinx/handshex.git
cd handshex

2. Configure Environment Variables

Copy the sample environment file and edit it:

cp .env.sample .env

Edit .env and set:

  • MONGO_CONNECTION_URI to your MongoDB connection string.
  • PORT (default: 6969).
  • JWT_SECRET to a secure random string.

3. Build the Docker Image

docker build -t handshex .

4. Run the Container

docker run --env-file .env -p 6969:6969 handshex

5. Stopping the Container

Press Ctrl+C in the terminal running the container, or stop it via Docker Desktop/CLI.

Notes

  • Make sure your MongoDB instance is accessible from the container.
  • For production, consider using Docker Compose to manage MongoDB and the app together.

License

MIT License

About

Informal contract creation and tracking web application

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published