Skip to content

arunabhg/typescript-fullstack-starter

Repository files navigation

Fullstack React with TypeScript Starter Template

Quick Start

You can clone this repository into your local project folder by downloading the zip file or copying the repository URL.

git clone https://github.com/arunabhg/typescript-fullstack-starter <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 use this template

  • Simple and minimalistic fullstack template. You can add more packages as per your requirements.
  • Separate tsconfig.json for client and server.
  • Client and Server can share code (And types)
  • The project is bundled using Vite
  • Both client and server use TypeScript

What's Included

Usage

  • npm run dev - Client and server run in dev mode, opens http://localhost:3000/
  • npm build - dist folder will include all the needed files
  • npm start - Runs node dist/server/