This project is a single-page WEB application which is Front-end of UniBee billing admin management system.
- Nodejs 18+
Clone this repository and install the dependencies.
# Clone this repository
git clone https://github.com/UniBee-Billing/unibee-admin-portal
# Install dependencies
cd unibee-admin-portal
yarn installDefine the following env variables in .env file.
VITE_API_URL=http://unibee.top/unib
VITE_STRIPE_PUBLIC_KEY=YOUR_STRIPE_PUBLIC_KEY
.env.local for development, .env.production for production build
Now you can start dev server using the following command.
yarn devTo build the application, run the following command:
yarn buildThe build command will generate the static files in the dist folder of the project.
The admin portal also supports building the application using Docker, run the following command to build the docker image:
docker build -t <tag> .Use yarn add <package> to add a new dependency, don't use npm install <package>. Create your own local branch for development, then create PR to merge into develop/v1.2.3 branch(v1.2.3 is the latest release branch).
AGPLv3.