├── .gitignore
├── README.md
├── db
└── items.db
├── index.html
├── package.json
├── public
├── css
│ ├── bootstrap.css
│ └── theme.css
├── fonts
│ ├── glyphicons-halflings-regular.eot
│ ├── glyphicons-halflings-regular.svg
│ ├── glyphicons-halflings-regular.ttf
│ └── glyphicons-halflings-regular.woff
├── index.html
├── js
│ └── app.js
└── lib
│ ├── angular-animate.min.js
│ ├── angular-resource.min.js
│ ├── angular-route.min.js
│ └── angular.min.js
└── server.js
/.gitignore:
--------------------------------------------------------------------------------
1 | .idea/
2 | node_modules/
3 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | node-webkit-nedb-rest-angular
2 | =============================
3 |
4 | AngularJS native desktop app (node-webkit, nedb, express, rest, angular)
5 |
6 | ```
7 | git clone https://github.com/buberdds/node-webkit-nedb-rest-angular.git
8 | cd node-webkit-nedb-rest-angular
9 | npm install
10 | cd ..
11 | ```
12 |
13 | Download the prebuilt node-webkit binary for your platform and
14 | use it to run the app.
15 |
16 | ```
17 | nw node-webkit-nedb-rest-angular
18 | ```
19 |
20 | Alternatively, you can cd into the directory where the project files and folders are and run this command:
21 |
22 | ```
23 | zip -r ../${PWD##*/}.nw *
24 | ```
25 |
26 | This will create a .nw zip package that exists just in the folder just before the folder where your files exist.
27 |
28 | Once the zip package is created, store it in the same folder as the node-webkit unpacked bundle and simply drag the .nw zip file to the "nw" executable.
29 |
30 | Note. This solution is for linux.
31 |
32 | To view other solutions, please consult:
33 |
34 | https://github.com/rogerwang/node-webkit/wiki/How-to-package-and-distribute-your-apps
35 |
36 |
--------------------------------------------------------------------------------
/db/items.db:
--------------------------------------------------------------------------------
1 | {"name":"Etiam egestas","description":"Aliquam quam ante, pulvinar a facilisis euismod, cursus quis urna.","_id":"LnFBWjjJ6cVQJzC2"}
2 | {"name":"Donec sit amet","description":"Suspendisse rutrum justo nunc, non auctor odio ultrices non.","_id":"LnFBWjjJ6cVQJzC3"}
3 | {"name":"Suspendisse velit orci","description":"Fusce sollicitudin ultricies consequat.","_id":"LnFBWjjJ6cVQJzC5"}
4 |
--------------------------------------------------------------------------------
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |