Giter Club home page Giter Club logo

whitestorm-typescript-boilerplate's Introduction

WhiteStormJS - React/Redux - three.js - TypeScript boilerplate

Build Status Dependency Status devDependency Status

WhiteStorm TypeScript Boilerplate is a starter kit for crafting 3D applications using modern technologies:

Dynamic updates - Redux

Libraries

This starter kit also uses the following libraries and tools:

Core

Utilities

Build System

Dev & Prod Server

Developer Experience

Testing

Directory Structure

.
โ”œโ”€โ”€ build                       # Built, ready to serve app.
โ”œโ”€โ”€ config                      # Root folder for configurations.
โ”‚   โ”œโ”€โ”€ types                   # Global type definitions, written by us.
โ”‚   โ”œโ”€โ”€ webpack                 # Webpack configurations.
โ”‚   โ””โ”€โ”€ main.ts                 # Generic App configurations.
โ”œโ”€โ”€ node_modules                # Node Packages.
โ”œโ”€โ”€ src                         # Source code.
โ”‚   โ”œโ”€โ”€ app                     # App folder.
โ”‚   โ”‚ โ”œโ”€โ”€ components            # React Components.
โ”‚   โ”‚ โ”œโ”€โ”€ containers            # React/Redux Containers.
โ”‚   โ”‚ โ”œโ”€โ”€ helpers               # Helper Functions & Components.
โ”‚   โ”‚ โ”œโ”€โ”€ redux                 # Redux related code aka data layer of the app.
โ”‚   โ”‚ โ”‚   โ”œโ”€โ”€ modules           # Redux modules.   
โ”‚   โ”‚ โ”‚   โ”œโ”€โ”€ reducers.ts       # Main reducers file to combine them.  
โ”‚   โ”‚ โ”‚   โ””โ”€โ”€ store.ts          # Redux store, contains global app state.   
โ”‚   โ”‚ โ””โ”€โ”€ routes.tsx            # Routes.
โ”‚   โ”œโ”€โ”€ client.tsx              # Entry point for client side rendering.
โ”‚   โ”œโ”€โ”€ index.html              # root page template
โ”‚   โ””โ”€โ”€ server.tsx              # Entry point for server of static content.
โ”œโ”€โ”€ typings                     # Type definitions installed with typings.              
โ”œโ”€โ”€ .gitignore                  # Tells git which files to ignore.
โ”œโ”€โ”€ .stylelintrc                # Configures stylelint.
โ”œโ”€โ”€ Dockerfile                  # Dockerfile.
โ”œโ”€โ”€ favicon.ico                 # Favicon.
โ”œโ”€โ”€ package.json                # Package configuration.
โ”œโ”€โ”€ README.md                   # This file
โ”œโ”€โ”€ tsconfig.json               # TypeScript transpiler configuration.
โ”œโ”€โ”€ tslint.json                 # Configures tslint.
โ””โ”€โ”€ typings.json                # Typings package configuration.

Installation

You can clone from this repository or install the latest version as a zip file.

$ git clone https://github.com/whitestormJS/whitestorm-typescript-boilerplate
$ cd whitestorm-typescript-boilerplate
$ npm install

Usage

All commands defaults to development environment. You can set NODE_ENV to production or use the shortcuts below.

# Running

$ npm start # This starts the app in development mode

# Starting it with the production build
$ NODE_ENV=production npm start # or
$ npm run start:prod

# Building

$ npm build # This builds the app in development mode

# Commands below builds the production build
$ NODE_ENV=production npm build # or
$ npm run build:prod

# Testing
$ npm test

Notes

# If you want install additional libraries, you can also install their typings from DefinitelyTyped
$ typings install dt~<package> --global --save
# or if it's located on npm
$ typings install <package> --save-dev

Credits

MIT license.

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.