Skip to content
/ tsx-app Public template
generated from JoshMerlino/ts-server

Create fast single-page progressive-web-apps using PhotonCSS or Tailwind, React and TypeScript.

Notifications You must be signed in to change notification settings

JoshMerlino/tsx-app

Repository files navigation

tsx-app

Checks

  • Code Style Analysis
  • Code Quality Analysis
  • Test CI

Software

  • ubuntu-20.04.1lts
  • git-2.25.1
  • node-14.16.0
  • npm-6.14.11

Getting Started

# Clone the repo
git clone https://github.com/JoshMerlino/tsx-app -b (master | tailwind | photon) --single-branch -o upstream (my-app)
git branch -m master

Move into your new working directory.

# Install node build tools
sudo apt-get install build-essential -y

# Install node modules
npm install

Creating API Endpoints

Create a .ts file in the ~/api directory

import { Request, Response } from "express";

export const route = [
	"v1/test",
	"v1/test/**"
];

export default function api(req: Request, res: Response): void {
	res.json({});
}

About

Create fast single-page progressive-web-apps using PhotonCSS or Tailwind, React and TypeScript.

Topics

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •