Git Product home page Git Product logo

simple-express-react's Introduction

simple-express-react

Build Status Code Climate

This project is a template containing -

Included modules

8 Dependencies

  "dependencies": {
    "body-parser": "^1.15.2",
    "cors": "^2.8.1",
    "dotenv": "^2.0.0",
    "express": "^4.14.0",
    "morgan": "^1.7.0",
    "react": "^15.3.1",
    "react-dom": "^15.3.1",
    "react-router": "^2.8.1"
  }

10 Dev dependencies

  "devDependencies": {
    "babel-core": "^6.14.0",
    "babel-loader": "^6.2.5",
    "babel-preset-es2015": "^6.14.0",
    "babel-preset-react": "^6.11.1",
    "eslint": "^3.5.0",
    "http-proxy": "^1.15.1",
    "husky": "^0.11.7",
    "snazzy": "^5.0.0",
    "webpack": "^1.13.2",
    "webpack-dev-server": "^1.15.2"
  }

Setup

  1. Clone the project with git clone https://github.com/maael/simple-express-react.git
  2. Check node version is 6.0.0+. If not swap node version.
  3. Check npm version is 2+. 3 can be a bit slow. (TODO: Yarn?)
  4. npm install

You should now be able to run npm start and see Main Application at http://localhost:4242/ in your browser.

Included npm scripts

  • npm start - Start the server and webpack dev server if in development.
  • npm run lint - Lint the code with snazzy (a pretty standard linter).
  • npm run build - Generate the development webpack bundle.
  • npm run build-prod - Generate the production webpack bundle and source map.
  • npm run clean - Remove any webpack bundle and source maps.

simple-express-react's People

Contributors

maael avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar

simple-express-react's Issues

Swap snazzy out for standard

Snazzy is just a pretty standard, but the exit code seems to be problematic so husky doesn't always wait for snazzy to finish linting before pushing. This can be fixed by replacing snazzy with standard.

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.