casesandberg / play-money

Simple prediction market platform
https://playmoney.dev
12 stars 10 forks source link

Play Money [Temp]

Play Money is a prediction market platform. This codebase is structured as a monorepo using Turborepo, containing multiple standalone apps and shared feature packages.

Join the discord!

Project Structure

Getting Started

Prerequisites

Setup

  1. Clone the repository:

    git clone https://github.com/casesandberg/play-money.git
  2. Install dependencies:

    npm install
  3. Set up postgres database:

    • Follow the Installation instructions.
    • Set a password during installation and accept default settings for other options.
    • Open a terminal and run:
      psql -U postgres
    • Enter the password you set during installation.
    • Create a new database for local development:
      CREATE DATABASE playmoney;
  4. Set up environment variables:

    • Create a .env file based on the .env.example file provided.
    • (Reach out to @casesandberg to get the shared dev env if you wish)
  5. Start development servers:

    npm run dev

Code Formatting and Linting

Contribution Guidelines