GithubHelp home page GithubHelp logo

julius / boilerplate-webpack-typescript-react-meteor Goto Github PK

View Code? Open in Web Editor NEW
6.0 3.0 0.0 180 KB

Boilerplate to setup a development environment with Meteor, React, Typescript and Webpack.

CSS 1.03% TypeScript 40.66% HTML 1.08% Shell 26.39% JavaScript 30.83%

boilerplate-webpack-typescript-react-meteor's Introduction

Boilerplate for Meteor, Typescript, React, Webpack

About

Get started with Typescript, React and Meteor quickly, using Webpack. This boilerplate also sets up Bootstrap, Font-Awesome and makes use of the build-in Meteor User-System Templates.

Here are some arguments, why you might consider this stack for larger code bases: https://docs.google.com/presentation/d/1XB6lYXLjKFADEYdexXDI8Wqvll55LOhcEw2layqNI5Q

Prerequisites

git, npm, meteor

Usage 1) Get the code

git clone [email protected]:julius/boilerplate-webpack-typescript-react-meteor.git
cd boilerplate-webpack-typescript-react-meteor && npm i

Usage 2) Run the code in development mode

npm run dev

Open this up in your browser: http://localhost:3000/

Code is in the src folder. Browser will refresh automatically when you change code.

Usage 3) Build the code for production use

npm run build

Look into the dist folder. There should be something you can deploy to your Meteor server.

How this works

Webpacks compiles src/client/index.ts and src/server/index.ts. Puts everything in a Meteor folder webpack-meteor/meteor-dist and lets Meteor run.

Webpack watches and recompiles when you change code. Webpack-Config-Files are here: webpack-meteor/webpack-config

Sidenotes

No JSX As of TypeScript 1.6, the tag-notation of JSX for React is supported. It is not used here, because some IDEs do not support TSX yet.

To get it: Simply use .tsx-files instead of .ts-files.

License

MIT (http://www.opensource.org/licenses/mit-license.php)

boilerplate-webpack-typescript-react-meteor's People

Contributors

julius avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

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