Coder Social home page Coder Social logo

imbhargav5 / react-universal-starter Goto Github PK

View Code? Open in Web Editor NEW
45.0 8.0 17.0 1.14 MB

React@16, react-router@4, redux and webpack@4 starter project

Home Page: https://react-universal-starter.imbhargav5.com

License: MIT License

JavaScript 95.13% HTML 2.15% HCL 2.72%
redux webpack react-router-v4 react react-fiber server-rendering styled-components

react-universal-starter's Introduction

react-universal-starter

All Contributors

The popular front end stack today is changing fast with React, react-router and webpack releasing newer versions. This is a starter app aimed to demonstrate how to integrate babel@7, react@16,react-router@4 and webpack@4.

Styled components React Redux webpack babel nodemon

Screenshot

Screenshot

Features

This project comes with the following features

  • React 16
  • React Router 4
  • Webpack 3
  • Babel
  • Server rendering
  • Redux integration
  • Dynamic imports
  • Chunk splitting
  • Styled components
  • Nodemon

Installation

git clone [email protected]:imbhargav5/react-universal-starter.git
cd react-universal-starter
npm install

Usage

To run app in dev mode

npm run dev

The app should be running on http://localhost:8888/


To run app in production mode

npm build
npm start

The app should be running on http://localhost:8888/


To clean and rebuild

npm run build

Available build scripts

npm run <script> Description
prebuild Cleans up previous build folders.
build:client Compiles client in production mode.
build:server Compiles server in production mode.
build Compiles client and server in production mode.
dev:client Runs client in development mode
dev:server Runs server in development mode
dev Runs client and server in development mode
start Start app in production mode.
deploy Deploy(already compiled) app to www through a temporary now.sh url. If now is not already installed, Run npm install -g now.

Contributors

Thanks goes to these wonderful people (emoji key):


Bhargav Ponnapalli

๐Ÿ’ป

Tirta Nugraha

๐Ÿ’ป

Ned.

๐Ÿ“–

rishabh-327

๐Ÿ’ป

This project follows the all-contributors specification. Contributions of any kind welcome!

License

MIT Bhargav Ponnapalli(2017)

react-universal-starter's People

Contributors

imbhargav5 avatar negati-ve avatar tagraha avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

react-universal-starter's Issues

npm run build:client

what is this build script for?

when I run it and go to localhost:8080 I get
'Cannot GET /'

I assume this is supposed to run the client side only using webpack dev server without express based server side rending ?

what is the expected behaviour?

npm start tmp/lib/server

npm start fails with following error:

> cross-env NODE_ENV=production node tmp/lib/server

module.js:544
    throw err;
    ^

Cannot find module 'users/n/react-universal-starter/tmp/lib/server'

Is this some missing code?

Animations on Route change

Can we try fade in /fade out animations for the core content on route change?
Also, when a route changes, the links could animate from a lesser opacity when it becomes active.

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.