GithubHelp home page GithubHelp logo

danielbeicht / nomumo Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 498 KB

Nomumo is an advanced scheduling tool that can be used to easily find and appoint a date and time for any activity attended by multiple people.

Home Page: http://nomumo.de

JavaScript 71.27% HTML 23.34% CSS 5.39%

nomumo's Introduction

nomumo

Online: nomumo.de

Example: Example Poll

What is nomumo?

Nomumo is an advanced scheduling tool that can be used to easily find and appoint a date and time for any activity attended by multiple people. If you want to find the perfect day for your party or the next trip, you can predefine some available dates and times for each date and immediately start a poll.

Installation

Hosting the application on your own is simple. Just make sure that the latest stable version of Node.js (including npm and bower) is installed on your machine. Then run the following line from the path of your cloned repository to install all frontend-dependencies.

bower install

After this run the following line from the api-folder to install all backend-dependencies.

npm install

To create the MySQL tables you need to enter following CREATE statements in your MySQL instance.

CREATE DATABASE `nomumo` /*!40100 DEFAULT CHARACTER SET utf8 */;

CREATE TABLE `polls` (
  `pollID` varchar(8) NOT NULL,
  `location` varchar(80) DEFAULT NULL,
  `description` varchar(5000) DEFAULT NULL,
  `name` varchar(80) DEFAULT NULL,
  `email` varchar(45) DEFAULT NULL,
  `title` varchar(80) DEFAULT NULL,
  `maybe` int(11) DEFAULT NULL,
  PRIMARY KEY (`pollID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;


CREATE TABLE `polldates` (
  `pollDateID` int(11) NOT NULL AUTO_INCREMENT,
  `pollID` varchar(8) DEFAULT NULL,
  `date` date DEFAULT NULL,
  PRIMARY KEY (`pollDateID`),
  KEY `pollID_idx` (`pollID`),
  CONSTRAINT `pollID` FOREIGN KEY (`pollID`) REFERENCES `polls` (`pollID`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=786 DEFAULT CHARSET=utf8;


CREATE TABLE `polldatetimes` (
  `pollDateTimesID` int(11) NOT NULL AUTO_INCREMENT,
  `pollDateID` int(11) DEFAULT NULL,
  `time` varchar(45) DEFAULT NULL,
  `timeCountOnDay` int(11) DEFAULT NULL,
  PRIMARY KEY (`pollDateTimesID`),
  KEY `pollDateID_idx` (`pollDateID`),
  CONSTRAINT `pollDateID` FOREIGN KEY (`pollDateID`) REFERENCES `polldates` (`pollDateID`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=618 DEFAULT CHARSET=utf8;


CREATE TABLE `users` (
  `userID` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(45) DEFAULT NULL,
  `pollID` varchar(8) DEFAULT NULL,
  `email` varchar(45) DEFAULT NULL,
  `userHash` varchar(8) DEFAULT NULL,
  PRIMARY KEY (`userID`),
  KEY `pollID_idx` (`pollID`),
  CONSTRAINT `pollIDForUser` FOREIGN KEY (`pollID`) REFERENCES `polls` (`pollID`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=305 DEFAULT CHARSET=utf8;


CREATE TABLE `users` (
  `userID` int(11) NOT NULL AUTO_INCREMENT,
  `name` varchar(45) DEFAULT NULL,
  `pollID` varchar(8) DEFAULT NULL,
  `email` varchar(45) DEFAULT NULL,
  `userHash` varchar(8) DEFAULT NULL,
  PRIMARY KEY (`userID`),
  KEY `pollID_idx` (`pollID`),
  CONSTRAINT `pollIDForUser` FOREIGN KEY (`pollID`) REFERENCES `polls` (`pollID`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=305 DEFAULT CHARSET=utf8;


CREATE TABLE `userpolltimes` (
  `userPollTimeID` int(11) NOT NULL AUTO_INCREMENT,
  `userID` int(11) DEFAULT NULL,
  `result` int(1) DEFAULT NULL,
  `pollDateTimeID` int(11) DEFAULT NULL,
  PRIMARY KEY (`userPollTimeID`),
  KEY `userIDForUserPollTime_idx` (`userID`),
  KEY `pollDateTimeIDForUserPollTime_idx` (`pollDateTimeID`),
  CONSTRAINT `pollDateTimeIDForUserPollTime` FOREIGN KEY (`pollDateTimeID`) REFERENCES `polldatetimes` (`pollDateTimesID`) ON DELETE NO ACTION ON UPDATE NO ACTION,
  CONSTRAINT `userIDForUserPollTime` FOREIGN KEY (`userID`) REFERENCES `users` (`userID`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=425 DEFAULT CHARSET=utf8;


CREATE TABLE `comments` (
  `commentID` int(11) NOT NULL AUTO_INCREMENT,
  `comment` varchar(800) DEFAULT NULL,
  `name` varchar(45) DEFAULT NULL,
  `date` datetime DEFAULT NULL,
  `pollID` varchar(8) DEFAULT NULL,
  PRIMARY KEY (`commentID`),
  KEY `pollIDForComments_idx` (`pollID`),
  CONSTRAINT `pollIDForComments` FOREIGN KEY (`pollID`) REFERENCES `polls` (`pollID`) ON DELETE NO ACTION ON UPDATE NO ACTION
) ENGINE=InnoDB AUTO_INCREMENT=53 DEFAULT CHARSET=utf8;

Start

To start the webserver type in following line from the api directory.

node main.js

nomumo's People

Contributors

danielbeicht avatar

Watchers

James Cloos avatar  avatar  avatar

nomumo's Issues

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.