A web-based inventory management system built with Spring Boot for the backend and React with Tailwind CSS for the frontend.
- User authentication and authorization
- Manage articles, categories, fournisseurs, and stock entries and sorties
- Dashboard with visual analytics
- Responsive design using Tailwind CSS
- Backend: Spring Boot
- Frontend: React, Tailwind CSS
- Database: PostgreSQL (or your preferred database)
- Build Tool: Gradle (for Spring Boot)
- Java 17 or higher
- Node.js and npm
- PostgreSQL (or your preferred database)
- Clone the repository:
git clone https://github.com/oussamahdidou/inventory-manager-springboot-react.git cd inventory-manager-springboot-react/api
Create a PostgreSQL database.
- 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
- Build the backend:
./gradlew build
- Run the backend:
./gradlew bootRun
- Navigate to the client directory:
cd ../client
- Install dependencies:
npm install
- 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.