Giter Site home page Giter Site logo

tfbern / m141 Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 3.74 MB

Aufgabenmanager ICT Modul 141

Home Page: https://aufgabenmanager.herokuapp.com

JavaScript 33.76% HTML 1.35% Vue 54.75% TSQL 10.13%
mysql knex express vuejs vuetify vue-router postgres heroku jwt

m141's Introduction

Aufgabenmanager

This is a demo app. It has been developed during ICT module 141 at Technische Fachschule Bern. The application consists of tree parts: the database, the API and the GUI.

Database

The database can be either relational database supported by knex. We have tested MySQL and PostgreSQL. The data model mainly consists of the two entities user and task. To setup such a database, the SQL DDL statements are provided. There are two supported designs: one making use of columns with the ENUM data type and another one using lookup tables.

Application Programming Interface (API)

There is a REST API that provides access to the database via HTTP/JSON for the application.

Grafical User Interface (GUI)

There is a grafical user interface programmed with vue.js that uses the API.

Development

To start the API and server change to server and run nodemon. This will start the API and also serve static content in the client/dist folder, if available. This folder contains the latest build of the GUI.

For GUI development start the development server by changing to client folder and running npm run serve. You can build the GUI by running npm run build.

Production

After building the GUI by running npm run build, you can serve the whole application (API and GUI) together on a single web server. Just run npm start or nodemon from the root directory of this project.

Hosting

The application can be hosted locally, at Heroku or any other host that supports node.js.

Hosting at Heroku

If hosting at heroku you must upload a package that contains a package.json file in the root folder. Heroku will then compile the project and start it using npm start. Heroku will provide the environment variables process.env.PORT and process.env.DATABASE_URL, hence the application must use them as port and database connection string.

m141's People

Contributors

samhess avatar

Watchers

James Cloos 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.