+
An equipment inventory management system with comprehensive functionality for managing laboratory equipment across departments.
Try it now: https://s-yed.github.io/GECR-STORE/
Login with any credentials:
- Email:
demo@example.com(or any email) - Password:
password123(or any password)
The demo includes 21+ sample equipment items across 4 departments with full functionality.
- Equipment Management - Add, edit, delete, and search equipment records
- Department Management - Organize equipment by departments
- User Authentication - Secure login/signup system
- Audit Trail - Track all equipment operations with detailed logs
- Real-time Search - Live search with debouncing
- Export Functionality - Export data to CSV format
- Responsive Design - Works on desktop, tablet, and mobile
- Demo Mode - Run without database setup for testing
Option 1: Try Online Demo
- Visit: https://s-yed.github.io/GECR-STORE/
- Login with any email/password (e.g.,
demo@example.com/password123)
Option 2: Run Locally
git clone https://github.com/S-YED/GECR-STORE.git
cd GECR-STORE
npm install
npm run devOpen http://localhost:3000 and login with any email/password.
- Frontend: Vite + Vanilla JavaScript
- Database: Supabase (PostgreSQL)
- Styling: Custom CSS with luxury effects
- Authentication: Supabase Auth
- Build Tool: Vite
- Node.js 16+ - Download here
- Git - Download here
- Supabase Account (optional for demo) - Sign up here
git clone https://github.com/S-YED/GECR-STORE.git
cd GECR-STOREnpm installThe project runs in demo mode by default with sample data. No additional setup required.
npm run dev-
Create Supabase Project:
- Go to supabase.com
- Create a new project
- Wait for setup to complete
-
Get Credentials:
- Go to Settings β API
- Copy your Project URL and anon/public key
-
Configure Environment:
- Edit
.envfile - Replace demo values with your credentials:
VITE_SUPABASE_URL=https://your-project.supabase.co VITE_SUPABASE_SUPABASE_ANON_KEY=your-anon-key-here
- Edit
-
Setup Database:
- Go to SQL Editor in Supabase
- Run the migration file:
supabase/migrations/20251010090639_create_equipment_inventory_schema.sql
-
Start Application:
npm run dev
- Login: Use any email/password (e.g.,
demo@example.com/password123) - Sample Data: 21+ equipment items across 4 departments
- Full Functionality: All features work with mock data
- Live Demo: https://s-yed.github.io/GECR-STORE/
- Register: Create a new account
- Login: Use your registered credentials
- Real Database: All data persists in Supabase
- Dashboard - View equipment inventory with statistics
- Add Equipment - Fill in equipment details and assign to departments
- Search & Filter - Find equipment by name, order number, or supplier
- Edit/Delete - Modify or remove equipment records
- Departments - Manage organizational departments
- Audit Logs - View detailed change history
- Export - Download data as CSV files
GECR-STORE/
βββ src/
β βββ components/ # Reusable UI components
β β βββ Navbar.js
β βββ lib/ # Core libraries
β β βββ auth.js # Authentication logic
β β βββ router.js # Client-side routing
β β βββ supabase.js # Database configuration
β βββ pages/ # Application pages
β β βββ DashboardPage.js
β β βββ LoginPage.js
β β βββ DepartmentsPage.js
β β βββ AuditPage.js
β βββ styles/
β β βββ main.css # Premium styling
β βββ utils/
β β βββ helpers.js # Utility functions
β βββ main.js # Application entry point
βββ supabase/
β βββ migrations/ # Database schema
βββ static/ # Static assets
βββ templates/ # Legacy Flask templates
βββ .env # Environment configuration
βββ package.json
βββ vite.config.js
βββ README.md
- Glassmorphism Effects with backdrop blur
- Animated Components with smooth transitions
- Responsive Design for all screen sizes
- Custom Scrollbars with gradient styling
- Row Level Security (RLS) on all database tables
- User Authentication with secure password hashing
- Protected Routes requiring authentication
- Audit Logging for all data changes
- Input Validation and sanitization
The demo includes realistic equipment data:
- Signal generators, oscilloscopes, CNC machines
- Network equipment, testing instruments
- Pricing from βΉ3,500 to βΉ8,50,000
- Multiple departments and lab locations
npm run buildnpm install -g vercel
vercel --prodnpm run build
# Upload dist/ folder to Netlify- Fork the repository
- Create feature branch (
git checkout -b feature/AmazingFeature) - Commit changes (
git commit -m 'Add AmazingFeature') - Push to branch (
git push origin feature/AmazingFeature) - Open Pull Request
This project is open source and available under the MIT License.
@S-YED - GitHub Profile
Blank Page:
- Check browser console for errors
- Ensure Node.js 16+ is installed
- Try
npm installagain
Login Issues in Demo Mode:
- Any email/password works in demo mode
- Check console for "Running in demo mode" message
Database Connection Issues:
- Verify Supabase credentials in
.env - Check if migration was run successfully
- Ensure project is not paused in Supabase
Build Errors:
- Delete
node_modulesand runnpm install - Check Node.js version with
node --version
- Open an issue on GitHub
- Check existing issues for solutions
- Review console logs for error details
π Star this repository if you found it helpful!