Skip to content

AaltoFablab/fabinv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 

Repository files navigation

fabinv

The Fab Lab inventory. The easy way.

Ever not been able to find stuff and to get started at a place like a Fab Lab? This tool is there to help you. It aims to be as simple as possible to help you manage and find stuff easily.

Next Steps

One could try the README-driven-development strategy here.

  • For the backend Python would be the easiest I believe. Let's try the graphene GraphQL library and build a simple end-point which would return us a fake inventory table.
  • Backend: Add simple search to return items based on keyword provided.
  • For that GraphQL endpoint, let's build a front-end. Which framework to use has to be decided, but we could go with RiotJS and JQuery, using Skeleton for style initially.

Setting up

Start with making sure that you have Python 3 installed.

python3 --version
# Python 3.7.3

Optional: To not mess up your existing Python ecosystem, make use of Virtualenv. Install it with pip3. Please use pip3!

pip3 install virtualenv

Optional: Enter the project directory and set up virtualenv.

cd fabinv/backend
virtualenv env
source env/bin/activate

Install dependencies. If you set up vitualenv, python should be Python 3 and pip should map to pip3.

pip install -r requirements.txt

Run the backend application.

python app.py
# Running on http://127.0.0.1:5000/ (Press CTRL+C to quit)

Open browser and open http://127.0.0.1:5000/graphql. Try out the following query.

{ 
  items {
    name,
    location {
      name
    } 
  }
}

Development

  1. Please read about GitFlow and Semantic Versioning.
  2. Work in and commit changes to develop branch.
  3. If working something speciffic, create a feature branch.

About

Fab Lab inventory system. The easy way.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages