Coder Social home page Coder Social logo

edaf75-project's Introduction

EDAF75, project report

This is the report for

  • David Jungermann, dic15dju
  • Alfred Hirschfeld, al0015hi-s
  • David Blomberg, da3684bl-s

We solved this project on our own, except for:

  • The Peer-review meeting

ER-design

The model is in the file krusty_uml.png:

Relations

The ER-model above gives the following relations:

  • cookies(cookie_name)
  • pallets(pallet_id, cookie_name, order_nbr, production_date, location, delivery_time, delivery_date, blocked)
  • orders(order_nbr, customer_id, delivery_time)
  • order_sizes(cookie_name, order_nbr, pallet_amount)
  • customers(customer_id, customer_name, address)
  • material(material_name, material_amount, unit, last_delivery_date, last_delivery_amount) ingredients(cookie_name, material_id, ingredient_amount)

Scripts to set up database

The scripts used to set up and populate the database are in:

So, to create and initialize the database, we run:

sqlite3 krusty.sqlite < create-schema.sql
sqlite3 krusty.sqlite < initial.sql

How to compile and run the program

To run the REST-server if you are running Windows:

Either use:

.\gradlew run

Or:

gradlew.bat run

To run the REST-server if you are running a UNIX-system:

./gradlew run

To test the REST-server:

python check-krusty.py

In order to run the program, your computer must be running Java 10+, since we have used some newer features only present in more current releases.

edaf75-project's People

Contributors

davidjungermann avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.