This repo contains code samples from the MI131 lecture Web Frameworks and APIs held at FH Kiel in winter term 2017/2018.
The lecture slides can be found in the MI131 slide repo and the module page.
Clone this repo:
$ git clone https://github.com/mjleehh/mi131 example-directory
Go to the repo root dir:
$ cd example-directory
All examples are tagged. To list them:
$ git tag
frontend/react/basic-setup
frontend/react/create-component
frontend/react/create-stateful-component
frontend/react/create-stateless-component
frontend/react/lists-and-keys
frontend/webpack/basic-setup
frontend/webpack/cleanup-dist
...
Examples are sorted by:
- frontend/backend
- topic
- example name
To check out one of the examples:
$ git checkout example-name
To make sure you have all dependencies installed, clear the node_modules
directory:
$ rm -r node_modules
$ npm i
To run the example in your browser:
$ npm start