Skip to content

princiweb/heisenberg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Heisenberg

Logo

Running the app

Database

Because of offset_fetch, you will need SQL Server 2012+

CREATE DATABASE heisenberg
GO

USE heisenberg
GO

CREATE TABLE Posts(
   Id int IDENTITY(1,1) NOT NULL,
   Title nvarchar(100) NOT NULL,
   Description nvarchar(max) NOT NULL,
   PRIMARY KEY(Id)
)
GO

App

First of all, you need to have Node.js:

and the global dependencies:

  • Gulp
  • Bower
  • CoffeeScript
npm install -g gulp bower coffee-script

and finally, the local dependencies:

npm install gulp && npm install && bower install

Now run gulp and your app is ready to use! :)

Running the tests

Get Mocha:

npm install -g mocha

After this, configure your database test in /test/dal/database.coffee

Now you're ready to run the tests:

npm test

If you want to run a specifc kind of test, see below.

Server

  • DAL:
mocha test/dal
  • API:
mocha test/api

Client

  • TODO: TODO
TODO

Based on

About

Node.js + Express + AngularJS + SQL Server app

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published