Skip to content

sonntam/shelf-db

Repository files navigation

Shelf-DB

WIP Notice

This project is still in an early development stage and not yet ready for production environments. Because of that there are no setup instructions present yet. The code quality needs improvement, i.e. a more modular approach will be incorporated via code-refactoring in the near future.

Introduction

Shelf-DB is a web application based on php/MySQL/Javascript to keep track of things. The design is mobile-first.

It is formally based on Part-DB but now completely rewritten from scratch, offering new features and a different UI approach.

Server Requirements

  • php >= 7.0 php extensions: mysqli, gd2 (for QR codes), mbstring
  • MySQL >= 5.0

Installation

  1. Extract the repository contents into any folder of a webserver meeting the requirements above.
  2. Go into the ./config folder and edit the config.json to meet your desired sql server settings.
  3. Launch the index.php main page in a web browser. A standard database structure will be created where the database name given in the config file is used.
  4. Ready for use!

Used libraries

Special thanks to all the people that contributed to these projects.

TODOs

  • Remove json pretty print
  • Remove debugger statements from javascript
  • Remove debug output
  • new categories must be greyed out in the edit tree view
  • decode html special chars in database
  • inline edit
  • part table search
  • part table filter
  • delete part from detail page
  • copy part from detail page
  • add datasheets and images on detail page
  • allow adding of part from part table
  • show price information in part detail view including tooltip with timestamp of last update
  • REST API
  • Refactor all the JavaScript code

About

Database for keeping track of items

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published