Code Monkey home page Code Monkey logo

same-same's Introduction

#Same same, but different

##The application The application mainly consists of two subparts. ###Part 1 Part 1 is a questionnaire where the user answers an image-questionnaire-form. Answers obtained are saved in a database, and can be viewed in the admin part of the application. Both the user and the admin part of the application can be accessed from the main menu (the first screen when accessing the application)

###Part 2 Part 2 is presenting statistics from the answers gathered in Part 1.

###Documentation A documentation on the concept, the use of the application, the intended users, the technical solutions chosen and more can be obtained by asking Lars.

##How to set up and run the application

  1. Clone this repo

  2. Download and install node.js.

  3. Set up a working mysql server. Create the two tables (Answers, Participants) needed, using the sql scripts in the sql folder.

  4. Configure config.js file to define the url you will access the mysql server on. The file should follow this example:

    var dbOptions = {
       dburl: 'yourDBurl',
       dbuser: 'yourDBuser',
       dbpassword: 'yourDBpassword',
       database: 'yourDatabase'
    }
    exports.dbOptions = dbOptions; 

    and should be located in root/app

  5. Run npm start from the root level of the project. This should install all further dependencies and fire up the application.

  6. Access the application at : (e.g. localhost:3000).

##Questions All the questions in the application is confugured in the question_service.js file. The question images can be found in the question folder.

##Branching ###Master The master branch should only get commits that adds common functionality or improvements. There should never be a commit that contains any special logic that is implemented due to a event or course

###Adding new functionality due to a course/event When there is a order of any new course or event specific logic, you should always create a new branch from master. The name of the branch should be on the format Year/Month/Course, example: 2016/October/SapCourse

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.