spinalwiz / aimprototype

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Aimprototype

Built With:

  • Angular 2 ( 2.x )
  • ExpressJS ( 4.x - with compression )
  • Webpack ( angular-cli )

Install / Development

git clone https://github.com/spinalwiz/aimprototype
cd aimprototype

# Install dependencies
npm install

# start server
npm run start

# OR:

# Terminal 1:
ng serve --proxy-config proxy.conf.json

# Terminal 2:
npm run _server:run

# Client url: http://localhost:4200
# Application ( express ) API: http://localhost:4300

Build / Production

npm run build

## Deploy dist folder to app server

## Then:

node ./src/server/app.js

Structure of dist folder:

/dist/server <-- expressjs
/dist/client <-- angular2

About


Languages

Language:TypeScript 55.2%Language:HTML 34.6%Language:CSS 7.1%Language:JavaScript 3.0%