Skip to content

Latest commit

 

History

History
66 lines (51 loc) · 959 Bytes

README.md

File metadata and controls

66 lines (51 loc) · 959 Bytes

Basic Node.js Server Seed

A Node.js based server using express and typescript (Angular2 for the client side)

File Structure

# Configuration files
package.json
webpack.config.js
gulpfile.js
tsconfig.json
typings.json

# Server Sources
src/

    # Core Utils
    core/
        classes/..
        interfaces/..
        services/..
        db-models/..
        db-transactions/..

    # Server settings
    settings/..

    # Server
    server/
        index.ts
        statics/..
        routing/..

# Other files
..

Requirements

Development

Production

Install

# Install npm dependencies
npm install

# Setup server
gulp init

Start server

# Start server
gulp serve [--build]