Code Monkey home page Code Monkey logo

mixer's Introduction

Mixer

A simple mixer of a class of students into groups of two (and one group of three, if odd numbers).

NOTE This is mainly thought of as an assignment for my students at the Web developer education, YRGO, Gothenburg. I appreciate your interest in this project, but allow me to focus more on their future this time.

Installation

The application consist of a backend part and a frontend. The backend would prefarably run on port 4000 (otherwise, change value on line 6 in frontend/index.js)

cd backend
php -S localhost:4000

Also, you need to run the frontend part from a server

cd frontend
php -S localhost:8080

Database

The backend depends on a sqlite database, containing a single table (WU22). If you want to change this value, you have to edit backend/index.php at line 8 and 10. Note that the sqlite file is not included in this package, as it could contain personal data. You will need to setup your own sqlite3 file. It should contain a single table, and that table should have the columns id (int), lastname (string) and firstname (string)

Usage

Now, visit localhost:8080 in your browser and the top-left container should be filled with names. Drag and drop the ones that aren't present to the container below. When done, click "set pair-programmers", and pairings of the present students should emerge to the right.

mixer's People

Contributors

hassehulabeck avatar munnokd avatar cellmon95 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.