BMS UI is a TypeScript Next.js application using shadcn/ui for UI components. This repository contains the frontend interface for managing the Building Management System (BMS).
- Built with Next.js and TypeScript
- Styled using shadcn/ui and Tailwind CSS
- Real-time updates using WebSockets
- User authentication and role management
Before setting up the development environment, ensure you have the following installed:
git clone https://github.com/dev-dojo-uok/bms-ui.git
cd bms-uiUse npm to install dependencies:
npm installCreate a .env.local file in the root directory and add the necessary environment variables.
cp env.example .envThen, update .env.local with the correct values.
Run the following command to start the local development server:
npm run devThis will start the Next.js app.
To build the project for production:
npm run buildTo start the production server:
npm start