dorkhub

whitestorm-typescript-boilerplate

๐Ÿ“ฆ ๐Ÿš€ TypeScript boilerplate for WhitestormJS using react/redux โš›

WhitestormJS
JavaScriptโ˜… 288โ‘‚ 17 forksMITupdated 7 years ago
visit the demogit clone https://github.com/WhitestormJS/whitestorm-typescript-boilerplate.gitWhitestormJS/whitestorm-typescript-boilerplate

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

Build Status Dependency Status devDependency Status license

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

Video

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.

more like this

lottery

๐ŸŽ‰๐ŸŒŸโœจ๐ŸŽˆๅนดไผšๆŠฝๅฅ–็จ‹ๅบ๏ผŒๅŸบไบŽ Express + Three.js็š„ 3D ็ƒไฝ“ๆŠฝๅฅ–็จ‹ๅบ๏ผŒๅฅ–ๅ“๐Ÿงง๐ŸŽ๏ผŒๆ–‡ๅญ—๏ผŒๅ›พ็‰‡๏ผŒๆŠฝๅฅ–่ง„ๅˆ™ๅ‡ๅฏ้…็ฝฎ๏ผŒ๐Ÿ˜œๆŠฝๅฅ–ไบบๅ‘˜ไฟกๆฏExcelไธ€้”ฎๅฏผๅ…ฅ๐Ÿ˜๏ผŒๆŠฝๅฅ–็ป“ๆžœExcelๅฏผๅ‡บ๐Ÿ˜Ž๏ผŒ็ป™ไฝ ็š„ๆŠฝๅฅ–ๆดปๅŠจๅธฆๆฅๅ…จๆ–ฐ้…ท็‚ซไฝ“้ชŒ๐Ÿš€๐Ÿš€๐Ÿš€

JavaScriptโ˜… 4.6k

pomo

A web pomodoro timer.

TypeScriptโ˜… 50

search

search projects, people, and tags