Skip to content

oussamahdidou/inventory-manager-springboot-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

inventory-manager

A web-based inventory management system built with Spring Boot for the backend and React with Tailwind CSS for the frontend.

Table of Contents

Features

  • User authentication and authorization
  • Manage articles, categories, fournisseurs, and stock entries and sorties
  • Dashboard with visual analytics
  • Responsive design using Tailwind CSS

Technologies

  • Backend: Spring Boot
  • Frontend: React, Tailwind CSS
  • Database: PostgreSQL (or your preferred database)
  • Build Tool: Gradle (for Spring Boot)

Installation Guide

Prerequisites

  • Java 17 or higher
  • Node.js and npm
  • PostgreSQL (or your preferred database)

Backend Setup

  1. Clone the repository:
    git clone https://github.com/oussamahdidou/inventory-manager-springboot-react.git
    cd inventory-manager-springboot-react/api

Configure the database:

Create a PostgreSQL database.

  1. Update the database configuration in src/main/resources/application.properties:
 spring.datasource.url=jdbc:postgresql://localhost:5432/yourdbname
 spring.datasource.username=yourusername
 spring.datasource.password=yourpassword
  1. Build the backend:
./gradlew build
  1. Run the backend:
./gradlew bootRun

Frontend Setup

  1. Navigate to the client directory:
 cd ../client
  1. Install dependencies:
npm install
  1. Start the frontend:
   npm start

Access the Application Open your web browser and go to http://localhost:3000 to access the frontend. The backend will be running on http://localhost:8080.