websaid / strapi-ts

template for strapi with typescript

Home Page:https://pong420.github.io/strapi-ts/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Strapi Typescript

template for strapi and typescript

Documentation

Features

  • Strongly typed - I have defined a lot of strapi api and koa types
  • Http decorators - replace the configuration of routes.json
  • Path alias - Only @/ is supported. You could edit resolvePathAlias.ts for other path alias
    import { IProduct } from '@/typings';
    import { Policies } from '@/decorators/http';
  • Unit / E2e test ready
  • Schema (optional) - defines how the data will be sent over the network
  • eslint / ling-staged / husky setup
  • Docker setup

About

template for strapi with typescript

https://pong420.github.io/strapi-ts/


Languages

Language:TypeScript 88.5%Language:JavaScript 6.9%Language:Shell 2.8%Language:Dockerfile 1.8%