LabTrack Systems is an inventory management system designed for schools to track equipment across multiple locations. The system allows users to add locations and equipment, monitor their traceability, record observations, and manage maintenance logs. This project includes a backend developed with Node.js and a frontend built with React.
- Node.js v16 or higher
- npm v7 or higher
- Access to a MySQL database (local or Amazon RDS)
- Navigate to the backend directory:
cd node
- Install the dependencies:
npm install
- Configure the database connection in node/database/db.js. You can choose between a local database or Amazon RDS. Example:
const dbConfig = { host: 'localhost', // Change to your RDS host if necessary user: 'root', password: 'password', database: 'labtrack', };
- Start the server:
npm start
The backend will be available at http://localhost:3000 by default.
- Navigate to the frontend directory:
cd reactfront
- Install the dependencies:
npm install
- Configure the backend URL in react/src/axios/axios.js. Example:
import axios from 'axios'; const instance = axios.create({ baseURL: 'http://localhost:3000', // Change to your backend production URL }); export default instance;
- Start the frontend:
npm start
The frontend will be available at http://localhost:3000 by default.
- Ensure both the backend and frontend are running.
- Access the application in your browser at
http://localhost:3000
. - Use the interface to:
- Add and manage locations.
- Add, edit, and track equipment.
- Record and view maintenance logs and observations.
Developed by Aldo.
- Email: [email protected]
- GitHub: AldoRxz