1.0.14 • Published 7 years ago

node-web-scaffolding v1.0.14

Weekly downloads
3
License
MIT
Repository
github
Last release
7 years ago

Node Web Scaffolding

Template to start new web application built on top of a REST API. This scaffolding creates a web server + REST API entry point with a sample application. Please change all or parts of this to fit your needs since that's the goal of this little project :)

Dependencies

NodeJS 6.10+ (https://nodejs.org/)

Installation

install via npm:

npm install node-web-scaffolding

Note: if install is on windows, make sure you remove the empty node_modules/node-web-scaffolding folder in the root of your installation folder

or clone via git:

git clone https://github.com/boggan/node-web-scaffolding.git

Server

Go to the server folder and run the following commands:

install dependencies via: npm install

afterwards, you might want to edit the file config.js to configure the port on which you want the server to listen to (default is 8080).

start the server via: node main.js

Client

The Client folder is where the web server will feed any of the local files you want served. So this is where the UI for your web application will reside. Bundled with this is a pure html + vanillaJS example of UI, but I strongly suggest you use an existing framework (Angular, React, Backbone, etc...) with some libraries.

Once the server is running and you have some files in the client folder visit http://localhost:8080 to access you web application.

the API is accessible via http://localhost:8080/api/

Post Installation Notes

Enjoy! :)

1.0.14

7 years ago

1.0.13

7 years ago

1.0.12

7 years ago

1.0.11

7 years ago

1.0.10

7 years ago

1.0.9

7 years ago

1.0.8

7 years ago

1.0.7

7 years ago

1.0.6

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago