GithubHelp home page GithubHelp logo

esrefdurna / express-webpack-react-redux-typescript-boilerplate Goto Github PK

View Code? Open in Web Editor NEW

This project forked from armour/express-webpack-react-redux-typescript-boilerplate

0.0 2.0 0.0 7.23 MB

:tada: My full-stack boilerplate that using express with webpack, react and typescirpt! (hot module reload and materialize-css supported) :tada:

Home Page: https://express-react-typescript.herokuapp.com/

License: MIT License

TypeScript 61.35% JavaScript 32.20% CSS 5.62% HTML 0.84%

express-webpack-react-redux-typescript-boilerplate's Introduction

Express Webpack React Redux Typescript Boilerplate

CircleCI Dependency Status DevDependency Status Coverage Status tested with jest MIT Licence

Example

Stack

How to run the example code

Prerequisite

  • node
  • yarn (recommended) or npm
  • docker (recommended) with docker-compose

Quickest way

The easiest way to run the example project is to use docker-compose:

docker-compose up --build

that's it :)

You can also follow below instructions if you want it to be more customizable

Install project dependencies

Go to project root directory:

yarn install
yarn global add gulp

If you meet permission problem when trying to install yarn globally, check this out.

Setup database and session store

You can either run postgresql and redis using docker images:

docker-compose up -d postgres redis

or maintain it by your own, if so, make sure you set the right configs in backend/config.json

Build & Run

On development (with react-hot-reload and redux-devtools):

gulp

On production (with uglify-js and other optimazitions):

NODE_ENV=production gulp

Profile assets bundle

Thanks to webpack-bundle-analyzer, we can analyze and then optimize our assets bundle through DLL Plugin.

gulp profile

Run test

gulp test

Code coverage

gulp coveralls

Deployment

gulp deploy

Contributing

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

License

MIT License

express-webpack-react-redux-typescript-boilerplate's People

Contributors

armour avatar dependabot[bot] avatar

Watchers

 avatar  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.