Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

IT LAB MANAGER

IT Lab Manager is a web application for schools to manage laboratory materials, allowing teachers and staff to monitor inventory and handle material requests.

Technologies used

  • Frontend & Backend: Svelte/SvelteKit
  • Database: MySQL

How to run this project

  1. 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 -- --open

Building

To create a production version of your app:

npm run build

How to set up the database

Requirements: 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.sql

Set up environment variables

Then 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

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages