Skip to content

High performance full stack web solution. It used Webpack as build and bundling agent. Uses sass , ES2015 , Angularjs for front end. Backend is in Nodejs, Express serves as the api server.

License

Notifications You must be signed in to change notification settings

sonujose/developing-nodes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DevelopingNodes

(Webpack, ES2015, Express, Sass, Babel)

It is a full stack project for AngularJS web application which objects is:

  • Webpack build and bundle all the assests.
  • Provide easy to use extensibility with npm managers;
  • Mockup server for your application;
  • Supports ES2015 using Babel
  • Supports SASS for styling you application

Future Updates (Working on it)

  • Using Firebase

Installation

  1. Create a new folder for your project, and clone this repo inside it
git clone https://github.com/sonujose/DevelopingNodes.git
  1. You need to have node and npm installed on your system, npm version should be grater than 3.x [2.x version may create issues in loading some dependencies]. To update npm version run npm install npm@latest -g

  2. Install webpack if you don't have it already. Need webpack cli for running the application

npm install --global webpack
  1. Install all npm dependencies
npm install
  1. Run the server (Both static files and api server)
npm start
  1. Build the application (webpack --watch)
npm test
  1. Wait untill webpack bundles all your files and server, App will open at http://localhost:8080

  2. Congratulations!!! Your app is running.

Using webpack

Here webpack is used for bundling the js files. webpack.config.js file bundles the entire js files into two modules 'app' and 'vendor'. The bundles are then minified and used as reference in index.html. The output of bundled files are in the app/dist folder. If you need to test webpack bundling just run command webpack

ES2015 is supported (can be upgraded to ECMA Script latest version)

All the js files inside app support es2015 , used babel loader as the transpiler for es2015. you can upgrade to latest ECMAScipt version in package.json, change the presets value of babel fromes2015 to latest

Analyze your webpack modules

  1. Run
webpack --profile --json >> stats.json
  1. open
http://webpack.github.io/analyse/#modules
  1. upload stats.json file from your repository

Have FUN!!

About

High performance full stack web solution. It used Webpack as build and bundling agent. Uses sass , ES2015 , Angularjs for front end. Backend is in Nodejs, Express serves as the api server.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published