Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ops-gaurav/ena2pass-scaffold
es6, Nodejs, Angular 2, Passport scaffold
https://github.com/ops-gaurav/ena2pass-scaffold
Last synced: 23 days ago
JSON representation
es6, Nodejs, Angular 2, Passport scaffold
- Host: GitHub
- URL: https://github.com/ops-gaurav/ena2pass-scaffold
- Owner: ops-gaurav
- Created: 2017-10-15T10:50:48.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2017-10-15T11:02:05.000Z (about 7 years ago)
- Last Synced: 2024-10-24T09:17:25.505Z (2 months ago)
- Language: JavaScript
- Size: 450 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# NodeJS ES6, Angular 2, Passport Standalone scaffold
This is a standalone scaffold build with es6-scaffolder's Angular 2 + webpack scaffold and adding server code along with.
# Directory Structure
> - dist : contains build of angular 2 .
> - server : Contains the backend code.
> - src : Contains angular 2 frontend code.
> - tests : Contains unit tests.# Common Actions
1. `npm test` to run the mocha tests in "tests" directory.
2. `npm run configure` run for first time deployment in watch mode.
3. `npm run deploy` first time run and deploy.
4. `npm run build` build the angular 2 code.
5. `npm run start:livedev` run webpack live server on 4500 port. Port can be changed later.
6. `npm start` build the angular code and then start the angular code on port `4500`.
7. `npm run server` run the node server code.
8. `npm run server:dev` run the server in development mode. (Uses nodemon).
9. `server:forever` uses forever module to run script forever as daemon.