Introduction to Sistema de Productos
Sistema de Productos is a full-stack web application for managing products, categories, and users. Built as a practice project to explore modern web development technologies, it demonstrates the integration between Vue.js on the frontend and Express on the backend.What is Sistema de Productos?
This system provides a complete solution for product management with the following capabilities:- Product Management: Create, read, update, and delete products with detailed information including price, stock, and descriptions
- Category Organization: Organize products into customizable categories with icons and colors
- User Management: Role-based user system with authentication and authorization
- RESTful API: Well-structured backend API with JWT-based authentication
This project is designed as a learning exercise and practice application. The codebase is actively maintained and subject to ongoing improvements and refactoring.
Technology Stack
Sistema de Productos leverages modern JavaScript technologies across the full stack:Frontend
- Vue.js 3.5.18: Progressive JavaScript framework for building user interfaces
- Vue Router 4.5.1: Official routing library for Vue.js single-page applications
- Pinia 3.0.3: Intuitive state management for Vue
- Tailwind CSS 4.1.11: Utility-first CSS framework for rapid UI development
- Vite 7.1.0: Next-generation frontend build tool
Backend
- Express 5.1.0: Fast, unopinionated web framework for Node.js
- PostgreSQL: Robust relational database with pg driver (8.16.3)
- JWT (jsonwebtoken 9.0.2): Secure authentication with JSON Web Tokens
- bcrypt 6.0.0: Password hashing for secure credential storage
Development Tools
- Nodemon: Automatic server restart during development
- Concurrently: Run frontend and backend simultaneously
- dotenv: Environment variable management
Key Features
Secure Authentication
The application implements JWT-based authentication with HTTP-only cookies, providing secure session management:RESTful API Architecture
The backend follows REST principles with organized routes:/api-productos base path.
Database Integration
PostgreSQL integration with connection pooling for optimal performance:Role-Based Access Control
Two user roles are supported:- Administrator: Full access to all features including user management
- Regular User: Limited access based on permissions
Project Structure
The application is organized into clear, modular directories:Use Cases
Sistema de Productos is ideal for:- Learning full-stack JavaScript development
- Understanding Vue.js and Express integration
- Practicing RESTful API design
- Exploring JWT authentication patterns
- Building product catalog applications
- Educational purposes and coding exercises
What’s Next?
Ready to get started? Continue to the Quickstart Guide to run the application in minutes, or check out the Installation Guide for detailed setup instructions.About the Author
About the Author
