Skip to content
프로젝트

소개

Boilerplate project for a TypeScript API (Express, tsoa) + UI (React/TSX)

웹 및 앱

이 수치를 측정하는 방법

측정된 스타 증가

in 24h
0
in 7 days
0
in 15 days
기록 수집 중
in 1 month
기록 수집 중

서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.

README.md

Original

ci

ts-app: Full-stack TypeScript Development Framework

This project is a starting point for developing an API-first application using TypeScript, Node.js, and React.

This project aims to support a "domain driven" approach. A client library is automatically generated from the API, providing a statically typed interface with which to interact with the API from the React UI. The goal is to provide a type-safe and productive developer experience for rapid web application development.

** Check out the new SaaS branch! Includes login flow, password reset, routing, emails and email previews, component library development via Cosmos, and more **

Getting started

  • yarn to install dependencies
  • yarn build to build from source
  • yarn cli start to start developer environment
  • yarn cli to use developer CLI
    • Includes dev environment setup, docker management, database management, and more
    • Full CLI docs

Developer experience

alt text

Project structure

This project uses TypeScript Project References to organize modules. This gives us:

  • Faster builds
  • Formal project dependencies; subprojects can't import from other subprojects unless the dependency is configured

Packages

  • cli - Developer CLI tool
  • client - Front-end React App
  • common - Modules used by either browser or node environments
  • node - Modules used by node environments
  • server - Express server w/ tsoa API
  • openapi-client - Autogenerated TypeScript client; used to communicate with OpenAPI REST API from client
  • cypress - Cypress tests

System Requirements

Technologies Used

Running Tests

Jest Tests

Includes server node.js tests and front-end react-testing-library tests.

yarn cli test jest

Cypress Tests

End to end tests that touch everything and hit a running version of the application

yarn cli test cypress

Contributing

  • Features and bug fixes welcome

관련 프로젝트 살펴보기

불러오는 중…