loh-lims's Introduction
#DEMO https://www.mediafire.com/file/ckvp89lmcv73m7r/LIMS_DEMO.mov/file # CloudClinic Inventory Management Module ## Overview CloudClinic's Inventory Management Module is an extension of the Laboratory Information Management System (LIMS). This module is designed to streamline the process of managing laboratory supplies, including tracking inventory levels, generating purchase orders, and optimizing stock levels. ## Project Objectives 1. **Track Inventory Levels:** Provide real-time visibility into inventory levels for all laboratory supplies. 2. **Generate Purchase Orders:** Automatically generate purchase orders when inventory levels reach pre-defined reorder points. 3. **Optimize Stock Levels:** Suggest optimal stock levels for different supplies based on historical usage data and lead times. ## Features - **Create Supply:** Add a new laboratory supply to the inventory. - **Read Supply:** View details of a specific laboratory supply. - **Update Supply:** Modify information about an existing laboratory supply. - **Delete Supply:** Remove a laboratory supply from the inventory. ## Tech Stack - **Frontend:** React - **Backend:** Node.js with Express - **Database:** PostgreSQL - **API:** RESTful API - **Styling:** Bootstrap ## Getting Started 1. **Clone the Repository:** ```bash git clone https://github.com/godfredakpan/loh-lims.git cd loh-lims ``` 2. **Install Dependencies:** ```bash # Install backend dependencies cd backend npm install # Install frontend dependencies cd frontend npm install ``` 3. **Database Setup:** - Create a PostgreSQL database and configure the connection details in `../config/db.js`. ```bash psql -U postgres run this to create the database; createdb lights_lims_db run this to login to your database, psql -U username(my own case, godfredakpan) -d lights_lims_db You will get a response like this; lights_lims_db=# run this next; CREATE TABLE laboratory_supplies ( id SERIAL PRIMARY KEY, name VARCHAR(255) NOT NULL, quantity INT NOT NULL, reorder_point INT NOT NULL ); ``` 4. **Run the Application:** ```bash # Start the backend server cd backend npm start # Start the frontend development server cd frontend npm start ``` Open your browser and navigate to [http://localhost:3000](http://localhost:3000) to access the application. ## API Endpoints - **GET /api/laboratory-supplies:** Get all laboratory supplies. - **GET /api/laboratory-supplies/:id:** Get details of a specific laboratory supply. - **POST /api/laboratory-supplies:** Create a new laboratory supply. - **PUT /api/laboratory-supplies/:id:** Update information about a laboratory supply. - **DELETE /api/laboratory-supplies/:id:** Delete a laboratory supply. ## Testing - Unit tests and comprehensive test cases have been implemented for the Inventory Management Module. Run tests using the following command: ```bash cd backend npm test ``` ## Documentation - Detailed documentation about the database schema, API endpoints, and frontend components can be found in the `docs` folder. - API Documentation: https://documenter.getpostman.com/view/23218164/2s9YsFEuXr ## Contributing Contributions are welcome! Please follow our [Contribution Guidelines](CONTRIBUTING.md) for details. ## License This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details.
loh-lims's People
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.