A modern, real-time inventory management system built with Next.js and Supabase. This application helps businesses track inventory, manage sales, and monitor expenses with real-time updates and comprehensive reporting.
- Real-time Updates: All changes reflect instantly across the dashboard
- Inventory Management:
- Track stock levels
- Set reorder points
- Categorize items
- Monitor unit prices
- Sales Tracking:
- Record sales transactions
- Real-time sales summaries
- Daily, weekly, and monthly reports
- Expense Management:
- Track business expenses
- Categorize spending
- Monitor cash flow
- Responsive Design: Works seamlessly on desktop and mobile devices
- Frontend: Next.js, React, TailwindCSS
- Backend: Supabase (PostgreSQL)
- Hosting: Vercel
- Real-time: Supabase Realtime
- Node.js 14.0 or later
- npm or yarn
- A Supabase account
- Clone the repository:
git clone https://github.com/your-username/inventory-dashboard.git
cd inventory-dashboard- Install dependencies:
npm install
# or
yarn install- Create a
.env.localfile in the root directory:
NEXT_PUBLIC_SUPABASE_URL=your_supabase_project_url
NEXT_PUBLIC_SUPABASE_ANON_KEY=your_supabase_anon_key- Run the development server:
npm run dev
# or
yarn dev- Open http://localhost:3000 with your browser to see the application.
The application requires the following Supabase tables:
inventory_itemssalesexpensesdaily_sales_summaryweekly_sales_summarymonthly_sales_summary
Schema details and setup instructions can be found in the database setup guide.
This project is configured for easy deployment on Vercel:
- Push your code to GitHub
- Connect your repository to Vercel
- Add your environment variables in Vercel's project settings
- Deploy!
Contributions are welcome! Please feel free to submit a Pull Request.
- Fork the project
- Create your feature branch (
git checkout -b feature/AmazingFeature) - Commit your changes (
git commit -m 'Add some AmazingFeature') - Push to the branch (
git push origin feature/AmazingFeature) - Open a Pull Request
If you have any questions or need help with setup, please open an issue in the GitHub repository.
- Next.js team for the amazing framework
- Supabase team for the backend infrastructure
- Vercel for hosting and deployment <<<<<<< HEAD
- All contributors who have helped shape this project =======
- All contributors who have helped shape this project