IT Lab Manager is a web application for schools to manage laboratory materials, allowing teachers and staff to monitor inventory and handle material requests.
- Frontend & Backend: Svelte/SvelteKit
- Database: MySQL
- Clone the repo:
git clone <repository-url>
Once you've downloaded the project and installed dependencies with npm install (or npm i), start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --openTo create a production version of your app:
npm run buildRequirements: mysql
After installing mysql, import the database by running the following command. Log into the shell as root and enter your password:
mysql -u [user] -p < database.sqlThen set up environment variables by creating a .env file in the root directory of the project and adding the following lines substituting your own values:
DB_HOST="localhost"
DB_NAME="it_lab_manager"
DB_USER=[user]
DB_PASSWORD=[password]
NODE_ENV=[mode] # development or production