- Clone repository:
git clone git@github.com:pancake-vn/builderx_spa.git
cd builderx_spa
- Install dependencies:
npm install
# or
yarn install
- Create .env file from .env.example and configure necessary environment variables
npm run dev
# or
yarn dev
npm run build:client
# or
yarn build:client
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
- Run project
- Access bash