Installation

πŸ› οΈ Installation

  1. Clone repository:

git clone git@github.com:pancake-vn/builderx_spa.git
cd builderx_spa
  1. Install dependencies:

npm install
# or
yarn install
  1. Create .env file from .env.example and configure necessary environment variables

πŸš€ Running the Project

Development

npm run dev
# or
yarn dev

Production Build

npm run build:client
# or
yarn build:client

πŸ“ Useful Commands

  • npm run dev: Run development server

  • npm run watch: Run server with nodemon (auto-reload)

  • npm run build:client: Build frontend for production

  • npm run clean: Clean dist directory

  • npm run lint: Check and fix code

  • npm run format: Format code with Prettier

  • npm run setup:husky: Setup husky rule

🐳 Docker

  1. Run project

  1. Access bash

Last updated