Skip to content

michaelmccabe/Inventory-frontend

Repository files navigation

Inventory Management System

A modern, full-stack inventory management application built with Next.js 14, TypeScript, and Tailwind CSS.

Inventory app dark mode orders screen

Features

  • 📦 Inventory Management: Add, edit, delete, and view inventory items
  • 🛒 Order Processing: Build new orders, fetch existing ones from the backend, edit them, and complete purchases
  • 🎨 Modern UI: Beautiful, responsive interface with Tailwind CSS
  • 🔒 Type-Safe: Built with TypeScript for reliability
  • 🚀 Fast: Powered by Next.js 14 with App Router

Quick Start

Prerequisites

Installation

  1. Clone the repository
git clone https://github.com/michaelmccabe/Inventory-frontend.git
cd inventory
  1. Install dependencies
npm install
  1. Configure environment
cp .env.local.example .env.local

Edit .env.local and set your backend API URL:

NEXT_PUBLIC_API_BASE_URL=http://localhost:8080
  1. Start the development server
npm run dev
  1. Open your browser

Navigate to http://localhost:3000

Project Structure

inventory/
├── app/                    # Next.js App Router pages
│   ├── items/             # Inventory items page
│   └── orders/            # Orders page
├── components/            # React components
├── lib/                   # Utilities and API client
├── types/                 # TypeScript type definitions
└── DEVELOPMENT_GUIDE.md   # Comprehensive development guide

Documentation

For detailed information about the project architecture, API integration, and development workflow, see the Development Guide.

Available Scripts

  • npm run dev - Start development server
  • npm run build - Build for production
  • npm start - Start production server
  • npm run lint - Run ESLint

Technology Stack

  • Frontend: Next.js 14, React 18, TypeScript
  • Styling: Tailwind CSS
  • HTTP Client: Axios
  • Icons: Lucide React

Screenshots

Inventory Items Management

Manage your inventory with an intuitive table interface featuring add, edit, and delete functionality.

Orders Processing

Create and process orders by selecting items, setting quantities, and specifying delivery addresses.

Backend API

This application requires the Inventory Backend API. See the OpenAPI specification for details.

Contributing

Contributions are welcome! Please see the Development Guide for guidelines.

License

This project is part of the Inventory Management system.

Support

For issues or questions:


Built with ❤️ using Next.js and TypeScript

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors