Giter Site home page Giter Site logo

emmet-m / typescript-react-node-template Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 678 KB

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

License: MIT License

TypeScript 38.10% HTML 12.99% CSS 0.93% JavaScript 47.98%

typescript-react-node-template's Introduction

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. On GitHub, use the 'Use this template' feature to create a stub repository based on this one.

If you can't use the template feature, add this repository as a remote origin to your empty repository and pull in the template like so:

# Adds the remote to your local repository
git remote add template [email protected]:emmet-m/typescript-react-node-template.git
# Merges the template code in on top, if your repo has existing code this might cause a weird merge.
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!

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.