Welcome to the Inventory Management App. This was built as a toy app to practice server-side CRUD operations. It acts as an interface for an imaginary store to keep track of their stock.
- Categories: Organise your inventory into different categories for easy navigation.
- Items: Keep track of individual items within each category.
- CRUD Operations: Perform Create, Read, Update, and Delete operations on both items and categories.
- User-Friendly Interface: Intuitive design for seamless navigation and usability.
To get started with the Inventory Management App, follow these steps:
Clone the Repository: Clone this repository to your local machine using the following command:
git clone git@github.com:damon314159/inventory-app.gitInstall Dependencies: Navigate to the project directory and install dependencies using npm:
cd inventory-app
npm installRun the App: Start the development server by running the following commands. You will need to provide a .env file specifying connection variables to your Postgres DB
npm run build
npm run migrations
npm startAccess the App: Once the server is running, you can access the app by navigating to http://localhost:3000 in your web browser.
- Home Page: Upon accessing the app, you will be presented with the home page where you can choose a category to view.
- Categories: Click on a category to view all items within that category.
- CRUD Operations:
- Create: Add new items or categories by clicking on the "Add" button and filling out the required information.
- Read: View existing items and categories by navigating through the app.
- Update: Edit the details of items or categories by clicking on the "Edit" button and modifying the information.
- Delete: Remove items or categories by clicking on the "Delete" button.