Quantidade insuficiente em estoque. - Sistema de Controle de Estoque Hospitalar Crie uma aplicação web moderna, responsiva e segura para controle...
Generated Prompt
## APPLICATION OVERVIEW The project is a web application designed for managing hospital inventory, providing secure user authentication and inventory segregation by hospital units. The application will streamline the process of tracking product entries, withdrawals, and returns while ensuring that users only access their designated inventory. ## CORE FEATURES 1. **User Authentication**: Secure login system allowing users to access their respective hospital unit's inventory based on their role. 2. **Inventory Management**: Users can add new products, register movements (withdrawals and returns), and view current inventory levels. 3. **Role-Based Access Control**: Different permissions for Admins and Stock Managers, ensuring data integrity and security. 4. **Product Duplication Intelligence**: Alerts users when similar products are detected, allowing them to choose whether to update existing entries or create new ones. 5. **Movements Dashboard**: A dedicated screen for tracking inventory movements with filtering options. 6. **Reporting Module**: Generate comprehensive reports in PDF and Excel formats, detailing stock levels, movements, and historical data. ## DESIGN SPECIFICATIONS - **Visual Style**: minimalist - Clean, simple design with plenty of white space, minimal color palette, and focus on typography - **Color Mode**: Light theme with dark text on light backgrounds - **Primary Color**: #1978E5 (accent for buttons, links, highlights) - **Typography**: Use Inter from Google Fonts for headings, Inter for body text and UI elements - **Border Radius**: 8px (moderately rounded) for buttons, cards, and inputs - **Layout**: The application will feature a sidebar navigation menu for easy access to the Dashboard, Products, Movements, Reports, and Users (Admin only). The main content area will display relevant information and actions based on the selected menu item. ## TECHNICAL REQUIREMENTS - **Framework**: React with TypeScript - **Styling**: Tailwind CSS - **UI Components**: shadcn/ui - **State Management**: Context API or Redux (specify based on your preference) ## IMPLEMENTATION STEPS 1. **Set Up Development Environment**: Initialize a new React project with TypeScript and install Tailwind CSS. 2. **Create Authentication Module**: Implement user authentication using a secure method, ensuring role-based access control. 3. **Design Layout**: Develop the main layout with a sidebar for navigation and a header for branding. 4. **Implement Inventory Management Features**: Create forms for adding products, registering movements, and viewing inventory. 5. **Build Duplication Intelligence**: Implement logic to check for similar product names during the product registration process. 6. **Develop Movements Dashboard**: Create a dedicated page to display and filter inventory movements. 7. **Reporting Module**: Integrate functionality to generate downloadable reports in PDF and Excel formats. 8. **Testing and Optimization**: Ensure the application is responsive, user-friendly, and performs well under load. 9. **Deployment**: Prepare the application for production and deploy it on a suitable platform. ## USER EXPERIENCE Users will be greeted by a dashboard displaying key metrics such as total products, current stock levels, and recent movements. They can easily navigate through the sidebar to manage inventory, view movements, and generate reports. The intuitive design ensures that users can complete tasks efficiently, with clear alerts and confirmations guiding them through critical actions such as adding products or registering stock movements. Responsive design will ensure usability across devices, enhancing accessibility for all users.
Loved by thousands of makers from
From early prototypes to real products, they started here.







































Generate optimized prompts for your vibe coding projects
Generate prompt
Enter a brief description of the app you want to build and get an optimized prompt
Review and use your prompt
Review (and edit if necessary) the generated prompt, then copy it or open it directly in your chosen platform
Get inspired with new ideas
Get AI-generated suggestions to expand your product with features that will surprise your users
Frequently Asked Questions
Everything you need to know about creating better prompts for your Lovable projects
Still have questions?
Can't find what you're looking for? We're here to help!
