This is the code repository for a minimalistic Inventory system powered by Firebase. It is currently oriented to small companies following a B2B/B2C rental system.
The application is structured in 4 main pages:
- Projects: In this page you can create/delete projects and assign products to it. It is structured using a Kanban-inspired Drag & Drop component. The project types can be added/deleted from the settings menu in the Navbar.
- Inventory: In this page you can add/delete/query products that can then be assigned to projects. Upon creation they are set to have "In Stock" state by default. Only "In Stock" state products can be assigned to projects. As an extra feature, extra products fields can also be added from the Settings -> Products Settings modal.
- Calendar: A calendar view of the projects page, using react-big-calendar. It can switch between projects view and products view.
- Dashboard (TODO:construction:): Analytics page.
To get started:
- Clone the repo &
npm installdependencies. - Create a Firebase Firestore database.
- Save the Firebase credentials in a
.envfile in the root folder of the project. - Currently the app only supports email login, so create a user in Firebase-->Authentication, and give it read and write access to the previously created Firestore database.
npm startthe App.- Projects Types are handled from the Settings page. It is necessary to create at least one project type to start creating projects.
- Create a few products in the Inventory page, and a Project from the Project page. Projects and products assigned to projects can also be seen from the calendar page.
