Hey is a decentralized and permissionless social media app built with Lens Protocol 🌿

24559
1601
TypeScript

Hey Monorepo

Requirements

To get started with the Hey monorepo, ensure the following dependencies are installed on your system:

  • Node.js (v18 or higher) - The backbone of our project.
  • pnpm - Our trusty package manager.
  • Postgres App - Our database of choice.

Installation

This repository uses pnpm workspaces to manage multiple packages within a monorepo structure.

Clone the Repository

git clone git@github.com:heyverse/hey.git

Install NVM and pnpm

If you’re on macOS, both can be installed via Homebrew:

brew install nvm pnpm

Install Node.js

Use nvm to install the correct Node.js version:

nvm install

Install Dependencies

Navigate to the root of the repository and install all dependencies using pnpm:

pnpm install

Set Up Environment Variables

Copy the .env.example file to create a new .env file for each package or app that requires environment configuration:

cp .env.example .env

Repeat this process for all relevant packages and applications in the monorepo.

Start the Development Server

To run the application in development mode:

pnpm dev

Build and Test

Build the Application

To compile the application:

pnpm build

Lint and Format Code

Check code quality and formatting:

pnpm biome:check

Fix linting and formatting issues automatically:

pnpm biome:fix

License

This project is licensed under the AGPL-3.0 license. Please refer to the LICENSE file for full terms and conditions.

🌸