Skip to content

Latest commit

 

History

History
80 lines (52 loc) · 792 Bytes

File metadata and controls

80 lines (52 loc) · 792 Bytes

Development Setup

Environment

Copy the provided environment template.

cp .env.example .env

Fill in all required credentials before starting the application.


Backend

Install dependencies.

npm install

Run migrations.

npm run migration:run

or

npx prisma migrate dev

Start development.

npm run dev

Rust Contracts

Compile contracts.

cargo build

Execute tests.

cargo test

Lint.

cargo clippy --all-targets --all-features

Format.

cargo fmt

Before Opening a Pull Request

Verify that:

  • The project builds successfully.
  • Database migrations are up to date.
  • Rust tests pass.
  • TypeScript tests pass.
  • Linting passes.
  • Formatting passes.