GithubHelp home page GithubHelp logo

britlim / webpack-react-boilerplate Goto Github PK

View Code? Open in Web Editor NEW
4.0 1.0 5.0 341 KB

A simple webpack boilerplate that is React capable and Express ready using concurrently to run.

JavaScript 86.69% HTML 5.45% SCSS 7.86%
webpack react express nodejs javascript jsx concurrently scss

webpack-react-boilerplate's Introduction

Webpack-React-BoilerPlate

React, Webpack Babel, Express, and Sass

created by: https://github.com/britlim

A simple webpack boilerplate that is React capable and runs on start using concurrently. Please make sure you have the latest LTS version of node installed prior to installing webpack. You can check by running these commands

node -v

npm -v

and visiting https://nodejs.org/en/

To begin, you will need to either run npm install or install the dependencies that you require for your project. In this boilerplate, we include the packages below... This boilerplate uses concurrently to run our Express server and our React server on ports 3000 and 8080. To run the dev server, simply run the command... npm run start You should now be able to open your server on localhost:8080 as well as your Express server on localhost:3000

DEPENDENCIES
"concurrently": "^6.4.0",
"express": "^4.17.1",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"webpack-dev-server": "^4.6.0"

DEV DEPENDENCIES
"@babel/core": "^7.16.0",
"@babel/preset-env": "^7.16.4",
"@babel/preset-react": "^7.16.0",
"babel-loader": "^8.2.3",
"css-loader": "^6.5.1",
"file-loader": "^6.2.0",
"html-webpack-plugin": "^5.5.0",
"node-sass": "^6.0.1",
"sass-loader": "^12.3.0",
"style-loader": "^3.3.1",
"webpack": "^5.64.4",
"webpack-cli": "^4.9.1"

webpack-react-boilerplate's People

Contributors

britlim avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 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.