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
- apps: Standalone apps, such as
web
, backend
, etc.
- packages: Shared libraries split by feature, colocating backend and frontend logic together.
Getting Started
Prerequisites
Setup
-
Clone the repository:
git clone https://github.com/casesandberg/play-money.git
-
Install dependencies:
npm install
-
Set up postgres database:
-
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)
-
Start development servers:
npm run dev
- This will start all necessary servers:
Code Formatting and Linting
- Eslint and Prettier are used to enforce consistent code style.
- Before merging a pull request, please format your code:
npm run format
- Alternatively, use a code editor that formats on file save.
Contribution Guidelines
- Make sure your code adheres to the style guidelines.
- Feel free to reach out to maintainers for questions or clarifications.