All Projects β†’ gilamran β†’ Fullstack Typescript

gilamran / Fullstack Typescript

FAST FullStack React with TypeScript starter kit.

Programming Languages

typescript
32286 projects
es6
455 projects

Projects that are alternatives of or similar to Fullstack Typescript

Project Webcube
Continuously updated JS infrastructure for modern web dev
Stars: ✭ 141 (-52.2%)
Mutual labels:  webpack, starter-kit, react-router
Preact Minimal
πŸš€ Minimal preact structure
Stars: ✭ 136 (-53.9%)
Mutual labels:  webpack, starter-kit, minimal
React Redux Auth0 Kit
Minimal starter boilerplate project with CRA, React, Redux, React Router and Auth0 authentication
Stars: ✭ 115 (-61.02%)
Mutual labels:  webpack, minimal, react-router
React Redux Styled Hot Universal
react boilerplate used best practices and focus on performance
Stars: ✭ 147 (-50.17%)
Mutual labels:  webpack, starter-kit, react-router
Starter Pack
Combines React (ft. hooks), Redux, Redux-saga and TypeScript with Auth0 as a starting point for modern web apps with solid authentication
Stars: ✭ 209 (-29.15%)
Mutual labels:  webpack, starter-kit
Js Library Boilerplate
Javascript Starter Boilerplate - Webpack 4, Babel 7, UMD, Hot Reloading, and more
Stars: ✭ 202 (-31.53%)
Mutual labels:  webpack, starter-kit
Ice
πŸš€ The Progressive App Framework Based On React(基于 React ηš„ζΈθΏ›εΌεΊ”η”¨ζ‘†ζžΆοΌ‰
Stars: ✭ 16,961 (+5649.49%)
Mutual labels:  webpack, react-router
React
Extremely simple boilerplate, easiest you can find, for React application including all the necessary tools: Flow | React 16 | redux | babel 6 | webpack 3 | css-modules | jest | enzyme | express + optional: sass/scss
Stars: ✭ 244 (-17.29%)
Mutual labels:  webpack, react-router
Bedrock
Build a Node web app with user authentication, security, and more in under 10 minutes. Now supports React Hot Loading for super-fast development. πŸ‘Œ
Stars: ✭ 187 (-36.61%)
Mutual labels:  webpack, starter-kit
React Starter Kit
React, Redux, Webpack, Material UI, Boostrap 4, Code Splitting, HMR
Stars: ✭ 229 (-22.37%)
Mutual labels:  webpack, starter-kit
Minimal React Starter
As minimal a react starter as you can get... while also using ES6/Babel and Webpack.
Stars: ✭ 246 (-16.61%)
Mutual labels:  webpack, minimal
Koa Web Kit
πŸš€A Modern, Production-Ready, and Full-Stack Node Web Framework with React
Stars: ✭ 199 (-32.54%)
Mutual labels:  webpack, starter-kit
Webpack Nano
A teensy, squeaky 🐀 clean Webpack CLI
Stars: ✭ 199 (-32.54%)
Mutual labels:  webpack, minimal
React Course
Code for ui.dev's "React" course
Stars: ✭ 2,457 (+732.88%)
Mutual labels:  webpack, react-router
Styled React Boilerplate
Minimal & Modern boilerplate for building apps with React & styled-components
Stars: ✭ 198 (-32.88%)
Mutual labels:  webpack, minimal
Gulp Pug Starter
Frontend development with pleasure. Pug + SCSS version
Stars: ✭ 228 (-22.71%)
Mutual labels:  webpack, starter-kit
coconat
πŸ₯ StarterKit Builder for rocket-speed App creation on πŸš€ React 17 + πŸ“™ Redux 4 + 🚠 Router 5 + πŸ“ͺ Webpack 5 + 🎳 Babel 7 + πŸ“œ TypeScript 4 + πŸš” Linters 23 + πŸ”₯ HMR 3
Stars: ✭ 95 (-67.8%)
Mutual labels:  react-router, starter-kit
react-starter
Starter kit for React.
Stars: ✭ 16 (-94.58%)
Mutual labels:  react-router, starter-kit
Reactgo
Your One-Stop solution for a full-stack universal Redux App!
Stars: ✭ 2,784 (+843.73%)
Mutual labels:  webpack, react-router
Quickbill
Create unlimited invoices for free.
Stars: ✭ 278 (-5.76%)
Mutual labels:  webpack, react-router

FAST FullStack React with TypeScript starter kit.


Quick Start

Just clone this repository into your own project folder. and start working

git clone https://github.com/gilamran/fullstack-typescript.git <MyProjectName>
cd <MyProjectName>
npm install
npm run dev

If you want to detach from this repository into your own repository do this:

git remote remove origin
git remote add origin YOUR_REPO_URL
git push -u origin master

Why

  • Simple to jump into, Fast because it is simple.
  • Separate tsconfig.json for client and server.
  • Client and server can share code (And types). For example: IUserDTO.d.ts
  • The client is bundled using Webpack because it goes to the browser.
  • The server is emitted by TypeScript because node now supports es6.


Requirements

  • NodeJs 12.13+, Chrome 79+ or FireFox 72+

Directory Layout

.
β”œβ”€β”€ /node_modules/                    # 3rd-party libraries and utilities
β”œβ”€β”€ /dist/                            # All the generated files will go here, and will run from this folder
β”œβ”€β”€ /src/                             # The source code of the application
β”‚   β”œβ”€β”€ /client/                      # React app
β”‚   β”œβ”€β”€ /server/                      # Express server app
β”‚   β”œβ”€β”€ /shared/                      # The shared code between the client and the server
β”œβ”€β”€ /assets/                          # images, css, jsons etc.
β”œβ”€β”€ .eslintrc                         # es-lint configuration
β”œβ”€β”€ .prettierec                       # prettier configuration
β”œβ”€β”€ .gitignore                        # ignored git files and folders
β”œβ”€β”€ .nvmrc                            # Force nodejs version
β”œβ”€β”€ .env                              # (ignored) Can be used to override environment variables
β”œβ”€β”€ index.js                          # The server's entry point
β”œβ”€β”€ package.json                      # The list of 3rd party libraries and utilities
└── tsconfig-for-webpack-config.json  # using TypeScript for the webpack config file
β”œβ”€β”€ README.md                         # This file

What's included

Usage

  • npm run dev - Client and server are in watch mode with source maps, opens http://localhost:3000
  • npm run test - Runs jest tests
  • npm run lint - Runs es-lint
  • npm run build - dist folder will include all the needed files, both client (Bundle) and server.
  • npm start - Just runs node ./dist/server/server.js
  • npm start:prod - sets NODE_ENV to production and then runs node ./dist/server/server.js. (Bypassing webpack proxy)

Config

All applications require a config mechanism, for example, SLACK_API_TOKEN. Things that you don't want in your git history, you want a different environment to have different value (dev/staging/production). This repo uses the file config.ts to access all your app variables. And a .env file to override variable in dev environment. This file is ignored from git.


What's not included

  • Universal (Server side rendering)
  • Redux/MobX (State management)

Licence

This code is released as is, under MIT licence. Feel free to use it for free for both commercial and private projects. No warranty provided.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].