Skip to content

BeWaterXYZ/bewater-frontend

Repository files navigation

bewater frontend

The prod: https://bewater.pro

The dev: https://dev.bewater.pro

This repo is managed via Yarn.

Requirements

Node >= 18 pnpm >= 8.10.3

Recipes

  • Install dependencies

    • pnpm install
  • Start dev website with qa backend server

    • set ENVIRONMENT=qa in .env file
    • pnpm dev
  • Build website

    • pnpm build
  • Export website

    • pnpm export
  • Lint everything

    • pnpm lint

.env file


# configs for change dev conditions

# base path from next.js\
# ref: https://nextjs.org/docs/api-reference/next.config.js/basepath
NEXT_PUBLIC_BASE_PATH=
# mapping different api url for different environment
# local | qa | prod
ENVIRONMENT=local

About

BeWater Hackathon Platform & BeWater Open Buidler Network

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 9