Skip to content
This repository has been archived by the owner on Dec 24, 2019. It is now read-only.
/ magic-cookie Public archive

Old project. Java RESTful web service for an imaginary bakery. Includes a full MySQL database.

Notifications You must be signed in to change notification settings

AndrijaS37N/magic-cookie

Repository files navigation

Magic Cookie 🍪

A Java RESTful web service.

  • An online system for an imaginary bakery.
  • MySQL database called mydb.sql, modeled and refined in MySQL Workbench and PhpMyAdmin.
  • Made in NetBeans IDE.
  • Database UML is provided, the cookie_waffle_chocolate_store.mwb file.
  • Divided into the client side and the server side.
  • No authentication mechanism.

magic-cookie-clients

The front end, client side of the system. Amalgam of HTML pages and JavaScript files for all the entities in the system.

Using:

  1. Tablesorter UI
  2. Backbone.js
  3. Twitter Bootstrap

Just a basic front end for the RESTful web services. I kinda like the UI.

magic-cookie-services

The back end, server side of the system. Amalgam of entity classes, facade and facade REST classes for the persistence of the system.

Generated by NetBeans using the database of the system. Deployed with Glassfish 4.0 application server. I think the MySQL connector will also be needed for a successful deployment of these services, if I remember correctly.

Problems ⚠️

Some GET and POST request results won't be presented properly or not at all because of backbone.js, I think. Whenever there's a requests regarding an entity that has a date format or some secondary keys in it, the front end just can't process it, even though the server side functionalities work perfectly, as I have tested the HTTP requests independently.

Project results:

Home Page ↘

View 1

Types View ↘

View 2

PhpMyAdmin Database View ↘

View 3

MySQL Workbench Database View ↘

View 4

Waffles Page ↘

View 5