Git Product home page Git Product logo

dbs-selectcourse's Introduction

Project DBS-selectCourse

Introduction

This is my implementation of an imaginary course selection system. Backed by a relational database, hosted by SparkJava web framework and interfaced with Vue.js client.

Hosted Instance

Hosted site
The SparkJava application is hosted on Google App Engine Standard Environment with Java11. Since GAE only allows read-only access to SQLite datafile, exceptions are caught. But can be ignored, data query and operations are still simulated. db is copied to /tmp, changes persist as long as the app instance is running.

image Available Course List

preview

Selected Course List

Todo

Todo list


### Project Requirements

DB Select course System

  • Vaadin/SparkJava
  • sql2o or Mybatis

Function

  • list selectable courses
  • select courses (cart)
  • edit-selected course (cart edit)

Constrains

  • 21 max credit
  • Dependency Courses
  • Time conflict resolution

Build

Directory Structure

  • /docs - documentation
  • /src/main/java - java source files
  • /src/main/resources - html/js source files
  • /target - compiled executables
  • /db - default database location

Compilation

  1. MVN clean
  2. MVN compile
  3. MVN package
  4. The executable jar is in /target

By default operations are reverted. To make permanent change, change /src/main/java/Main.java DEBUG constant to 0.

Progress Screenshots

image
Before Bootstrap

image
After Bootstrap

dbs-selectcourse's People

Contributors

dependabot[bot] avatar ichx avatar

Watchers

 avatar  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.