Coder Social home page Coder Social logo

nageshwar521 / typescript-react-template Goto Github PK

View Code? Open in Web Editor NEW

This project forked from clemex/typescript-react-template

0.0 1.0 0.0 6.72 MB

A template sample project for bootstrapping new React/Redux applications using TypeScript

Home Page: https://clemex.github.io/typescript-react-template/

License: MIT License

JavaScript 65.83% HTML 1.98% TypeScript 32.18%

typescript-react-template's Introduction

A Template for TypeScript Projects using React and Redux

This project is a simple template project developed by Clemex Technologies for bootstrapping new React/Redux applications using TypeScript. We started from the TypeScript React Starter from Microsoft and added several libraries and a more complete example application.

The project contains the source code for a simple counter application that demonstrates the usage of React, Redux, Redux-Form, Redux-Logger, Material-UI, and React-UI all written in TypeScript. This was inspired by the Counter project by Leyka a simple app which increments or decrements a counter using React/Redux which in turn was based on the React/Redux counter example.

Motivation

React is a very powerful UI creation framework for JavaScript applications, and Redux is a useful and simple state management system for JavaScript applications.

At Clemex we have found that React and Redux works very well with TypeScript, but it is not yet obvious what libraries work best with this stack for production code, and what the best practices are for producing scalable code. This project has served as a test bed for us when developing new features, and experimenting with different techniques.

There are a couple of pre-existing React/Redux/TypeScript starters and template projects such as the TypeScript React Starter we started from, but we wanted to create a starter kit that more closely resembled a real production development stack, and that contained a template example for new programmers onboarding on our team.

Building and Running the Project

After cloning the repository from GitHub use the command npm install to install all of the tools and dependencies.

The command npm run start will compile and launch the project in your browser at the location http://localhost:3000/ with a watcher which will rebuild the project whenever any source file is changed.

You can use npm run build to create a production build. For more build options take a look at the package.json file.

Libraries

This project demonstrates the use of the following libraries in TypeScript:

  • React - UI Front-end
  • React Intl - Application internationalization support
  • Redux - Centralized state management
  • Redux Form - Form state management via Redux
  • Redux Logger - Redux logger middleware
  • Material UI - React components that implement Google's Material Design

Development Tools

At Clemex we are using the following development tools:

Contributing

If you find any issues or have ideas for improvements we would love to hear from you. You can either log an issue/improvement, or submit a pull request.

Additional Resources

Here are some useful links for learning specifically more about TypeScript, React, and Redux on the internet.

typescript-react-template's People

Contributors

cdiggins avatar julienrobitaille avatar leyka avatar jpmn avatar benoxoft avatar

Watchers

Nageshwar Reddy Pandem 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.