Skip to content

Latest commit

 

History

History
61 lines (39 loc) · 1.37 KB

README.md

File metadata and controls

61 lines (39 loc) · 1.37 KB

SafeDep Platform Frontend

Development

Prerequisites

Note: You can skip ASDF setup if you already have the required version of nodejs installed on your system. Look at .tool-versions file to see the required version and other required tools.

  • ASDF
  • Install the required version of nodejs using asdf:
asdf install

Setup

  • Configure buf schema registry
pnpm config set @buf:registry https://buf.build/gen/npm/v1/
  • Install npm dependencies:
pnpm install

Configuration

  • Create .env.local file based on env.local.sample (example)
  • Update .env.local with the appropriate values

Note: For SafeDep Team members, ask for development credentials in Slack

Running the development server

  • Start the development server:
pnpm dev
  • Navigate to http://localhost:3000 in your browser.

Testing

  • Run the test suite:
pnpm test

Framework Documentation