An efficient Inventory Management System built with React, TypeScript, Apollo Client, Node.js with NestJS, GraphQL (via @nestjs/graphql
), Prisma ORM, Memcached for caching, Jest for testing, and more.
- React
- TypeScript
- Apollo Client
- SCSS for styling
- Node.js
- NestJS
- GraphQL (via
@nestjs/graphql
) - Prisma ORM
- Memcached for caching
- Jest
-
User Management:
- Create different users with roles
- Admin management
-
Store Management:
- Add products and edit prices
- Receive notifications
-
Category Management:
- Create categories
- Approve orders
-
Seller Management:
- Sellers can request to sell products
- Sellers can request to store products
-
Order Management:
- Print bills
- View notifications when the store sends products
To get started with the Inventory Management System, follow the steps below:
-
Clone the repository:
git clone https://github.com/your-repository.git
-
Install dependencies:
cd inventory-management-system npm install
- Configure the environment variables for the backend:
- Create a .env file in the root of the backend directory.
- Set the necessary environment variables (e.g., database connection, API keys, etc.).
- Start the backend server:
- npm run start:dev
- Configure the environment variables for the frontend:
- Create a .env file in the root of the frontend directory.
- Set the necessary environment variables (e.g., backend API URL, etc.).
- Start the frontend development server:
- Start the frontend development server:
- Open your browser and visit http://localhost:3000 to access the Inventory Management System.
Testing To run the tests for the Inventory Management System, use the following command:
Contributing Contributions are welcome! If you have any suggestions or improvements for the project, please feel free to open an issue or submit a pull request.
License This project is licensed under the MIT License.