Coder Social home page Coder Social logo

task-board's Introduction

task-board

this is a project for task board in scrum.now i code it to pc browser powered by express web framework

on task board:

  • we use task board to show the process of a project
  • tasks and user stories are tracked on it,there are three columns,such as 'ToDo','Doing','Doned'
  • there are well defined roles for a scrum master and a product owner

this is only server codes,and the pcweb codes are here

u can take a look at the effect through this website,user:18607946001,password:123456

the version of node is v0.12 or larger,because of i use some es6 features in codes

Table of Contents

Start

Configure

global config

u need to configure globa.js file in config floder, as follows:


// global config
var config = new Map();

// mysql
config.set('mysql', {
  host: '127.0.0.1',
  port: 3306,
  user: '', // enter username
  password: '', // input password
  database: '' // input database
});

// redis
config.set('redis', {
  host: '127.0.0.1',
  port: 6379
});

// email
// tips: don't use qq mail
config.set('email', {
  service: '126', // input email service, supproted list: https://github.com/andris9/nodemailer-wellknown#supported-services
  username: '[email protected]', // input your email
  password: 'xxxxx' // input password
});

// merge config from local.js
// if local.js is existed and local.js defines the configuration is used to local's, otherwise use global's
// like array_merge function in php
var fs = require('fs');
if (fs.existsSync(__dirname + '/local.js')) {
  var customer = require('./local');
  customer.forEach(function (value, key) {
    config.set(key, value);
  });
}

module.exports = config;

u need to fill options about mysql,inculding user,password

and also your server should be installed redis service, it used to save session

local config

u can rename local.example.js file to local.js.That way u can easily switch your coding environment.u can use loca.js file in development environment,and use global.js file in production environment


// if u want to use this file, u must rename this file to local.js

// local config
var config = new Map();

// mysql
config.set('mysql', {
  host: '127.0.0.1',
  port: 3306,
  user: '', // enter username
  password: '', // input password
  database: '' // input database
});

// redis
config.set('redis', {
  host: '192.168.94.26',
  port: 6380
});

// mongodb
// ...

module.exports = config;

Deploy

SQL

u can get sql file in config floder

Initinal

  1. run 'npm install' at the command line in project folder.if u come from china, u can run 'cnpm install' because cnpm is faster.
  2. start mysql service
  3. start redis service

by the way this is only server codes.u can get pcweb codes from here

Introduction

Send Email

you will receive an email when triggered the following behaviors:

  • when a task has been completed, and you are the author of prepositive task
  • when a task has been completed, and you has focused on this task
  • when a task has been completed, and you are the leader of this task
  • when a task is assigned to anthor author, the orignal author and the target author are both receive an email

More

task-board's People

Contributors

hinson0 avatar liubiqu avatar

Watchers

 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.