GithubHelp home page GithubHelp logo

base-camp-luftdaten / frontend Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 1.0 3.68 MB

This web app uses sensor data from the openSource project luftdaten.info to predict particulate matter development for Germany. The project was implemented as part of the base.camp of the Department of Computer Science at the University of Hamburg.

Home Page: http://basecamp-demos.informatik.uni-hamburg.de:8080/AirDataBackendService/

Dockerfile 1.23% CSS 27.10% HTML 18.44% JavaScript 53.23%
luftdaten opensource germany basecamp uhh

frontend's Introduction

Netlify Status

base.camp Luftdaten Frontend

This web app uses sensor data from the openSource project luftdaten.info to predict particulate matter development for Germany. The project was implemented as part of the base.camp of the Department of Computer Science at the University of Hamburg.

User-Interface

Setup

To start developing, there are two options to get the project up and running:

  1. via Docker

    This requires you to have docker-compose installed locally.

    Run the following commands to start a local development server:

    docker-compose build --no-cache web
    docker-compose up

    The first command will have to be re-run every time a dependency changes.

  2. via Node.js directly

    For this option, you need Node.js and npm installed on your machine. (npm usually gets installed along with Node.js).

    Once you did that, run

    npm install

    to install all dependencies and

    npm start
    

    to start the development server.

Build

To create a production build, you have two options again:

  1. If you've set up the project using Docker:
    1. Delete the dist directory if it exists.
    2. Execute docker-compose exec web npm run build while the container is running.
  2. If you've set up the project using npm directly:
    1. Delete the dist directory if it exists.
    2. Execute npm run build.

The generated HTML/CSS/JavaScript files should now be in the dist directory.

Contributing

To contribute please follow these few steps:

  1. git checkout master
  2. git pull
  3. git checkout -b <branch-name>
  4. npm install
  5. npm start
  6. Apply your changes
  7. git add .
  8. git commit -m "commit message"
  9. git push -u origin <branch-name>
  10. Go to GitHub and open a pull request

Running tests

To run all tests, use

npm test

Or, to have the tests run in watch mode (re-run every time the test/source files are changed), use:

npm test -- --watch

frontend's People

Contributors

7penkin avatar dependabot[bot] avatar lionralfs avatar moritzkreinsen avatar

Watchers

 avatar  avatar

Forkers

lionralfs

frontend's Issues

implement navbar

Implement black navbar at the top of the page and integrate search

make the slider smoother

At the moment the slider is moving rather pieced. It would be good if it could be moved a bit more fluidly.
(A little color accent would be good too!)

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.