Skip to content
Example todo app build with NODEJS, NEDB AND ANGULARJS
JavaScript HTML CSS Gherkin
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
public
storage
test
.gitignore
README.md
package.json
server.js

README.md

Currently i'm moving to es6 without babeljs instead of node v 6.0 support to 95% es6

Example Node Api ES6: https://github.com/thuanitdn/Node-ES6-Write-API-Example

This project build within 1 week with NODEJS, NEDB and ANGULARJS. http://todoappthuanle.herokuapp.com/

How to install ?

Step 1: Run with terminal : npm install Step 2: Running:

FOR WINDOW :

Run with terminal : set NODE_ENV=production

Run with terminal : node server

FOR LINUX/MAC: NODE_ENV=production node server.js

For test: I'm use BDD TEST. Please install cucumber before test Installing: cucumber Run with terminal: npm install -g cucumber

Starting Test:You need to run app with test environment FOR WINDOW :

Run with terminal : set NODE_ENV=test

Run with terminal : node server

FOR LINUX/MAC: Run with terminal : NODE_ENV=test node server.js

For example :

BDD test for project api:

Run with terminal: cucumber-js test/project.feature

BDD test for task api:

Run with terminal: cucumber-js test/task.feature

Any Question ? Please send via mail address : thuan09694@hotmail.com

You can’t perform that action at this time.