Skip to content
 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

101 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript full stack template (React, Node, Webpack)

A template for full stack typescript with React and Node.ts, served with Webpack

How to edit/What to install

Programming languages/libraries

  • node (version >= 10.*)
  • npm (comes with node, version >= 6.4.*)

Then you'll need to install all of these:

npm install -g webpack webpack-cli webpack-dev-server typescript tslint

Everything else can be installed by running npm install in the relevant directory :)

Text editors:

Technically any text editor is fine. To make your life easy though, I HIGHLY recommend VSCode. Install the extensions:

Git setup and details

Do not fork this repo. Add it as a remote origin to your empty repository and pull in the template like so:

git remote add template git@github.com:emmet-m/typescript-react-node-template.git
git pull template master --allow-unrelated-histories

If you run into permission errors when pulling the new remote, then fork it to your account and pull in THAT remote instead (i.e. replace the URL in the above snippet with the one for your fork).

Testing hasn't been set up, at all. You should look into what frameworks you can use to test the backend and frontend.

Layout

There's two directories here:

frontend

This is the client side code. Everything that makes up the webpage you see is here (React, HTML, CSS, etc.).

Check out the readme in this folder to see how to build/run it!

backend

This is the server side code. Everything that runs on the backend is here (Node.js, etc.)

Check out the readme in this folder to see how to build/run it!

About

A template for full stack typescript with React and Node.ts, served with Webpack

Resources

Stars

1 star

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages