GithubHelp home page GithubHelp logo

smakys / node.express.webpack.starter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wzr1337/node.express.webpack.starter

0.0 2.0 0.0 51 KB

License: MIT License

TypeScript 23.02% JavaScript 76.98%

node.express.webpack.starter's Introduction

NodeJS + ExpressJS + Webpack Starter

Please find a detailled explaination of why I chose to use which component and all the tweaks I had to do on my blog:

http://hack.Muckibu.de

Components

Node JS

Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. Node.js is mainly used for backend and build chain tasks. For more information, visit (https://nodejs.org/en/)

ExpressJS

Express is a project of the Node.js Foundation, it is a robust web framework for NodeJS. The Express framework allows building backend services with REST-APIs. For more detailed information, look here : (https://expressjs.com/)

WebPack

Webpack is a module bundler. Its main purpose is to bundle JavaScript files for usage in a browser, yet it is also capable of transforming, bundling, or packaging just about any resource or asset. In this project, we use webpack to transpile and bundle the NodeJS code written in typescript. For more detailed information, look here : (https://webpack.js.org/)

Typescript

TypeScript is a free and open-source programming language developed and maintained by Microsoft. It is a strict syntactical superset of JavaScript, and adds optional static typing to the language. (from Wikipedia) For more detailed information, look here : (https://www.typescriptlang.org/)

Development

build

In order, to build the software (once per call), use

$ npm run build:prod

or

$ npm run build:dev

The webpack packager will do the work for you and you will find dist/index.js afterwards.

run

$ node dist/index.js

will run the software for you

(live) reload / watch

To watch the source files, build on demand and run software,

$ npm run watch

is made available.

node.express.webpack.starter's People

Contributors

wzr1337 avatar

Watchers

Sui Mak avatar James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.