Skip to content

spencersolberg/shakeplace

Repository files navigation

Shakeplace

r/Place clone using Handshake names

contributors last update forks stars open issues license


Table of Contents

About the Project

Shakeplace is an r/Place that uses Handshake name signing to authenticate pixel placement.

Screenshots

screenshot of login page screenshot of shakeplace canvas screenshot of handshake pixel signing screenshot of pixel info

Tech Stack

Environment Variables

There are a few environment variables. If you are running HSD locally, you shouldn't need to change them.

DATABASE_URL=sqlite:./dev.db
HSD_HOST=127.0.0.1
HSD_PORT=12037
HSD_API_KEY=

Getting Started

Prerequisites

OR


You will need a lot of space for the Handshake blockchain.

Installation

Clone Shakeplace repo and install dependencies with NPM

git clone https://github.com/spencersolberg/shakeplace
cd shakeplace
cp .env.example .env

Running

Run HSD

hsd --no-wallet

Install node modules

npm i

Set up Prisma database

npx prisma generate
npx prisma db push
npx prisma db seed

Run the server

npm run dev

OR

Run with Docker

docker build --no-cache -t shakeplace .
docker run -p 3000:3000 shakeplace

Building

Launch build script

npm run build

Run a local server with

npm run start

Contact

Acknowledgements

About

r/Place clone with Handshake name authentication

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages