stathis-core
TypeScript icon, indicating that this package has built-in type declarations

1.0.84 • Public • Published

stathis-core

rodar o programa:

npm run dev

rotas dinâmicas https://medium.com/@gojedan/a-dynamically-routed-express-app-with-typescript-5a6457f1120f https://github.com/pringon/express-auto-route

Como publicar o pacote:

//aumente a versão no package.json npm version patch

// faz o build npm run build

//realizar commit

//publicar npm run publish

https://itnext.io/step-by-step-building-and-publishing-an-npm-typescript-package-44fe7164964c https://www.tsmean.com/articles/how-to-write-a-typescript-library/

subir o redis sem passwrod e fazer cache docker run -d -p 6379:6379 -i -t redis:3.2.5-alpine https://github.com/dapr/js-sdk/blob/master/test/e2e/main.http.test.ts

-- exemplo utilizado para criar a parte de validation //https://github.com/AlexJPotter/fluentvalidation-ts/tree/master/src/rules

-- rodar testes e configuração com Jest https://jestjs.io/pt-BR/docs/getting-started https://sharklabs.com.br/testes-unitarios-com-nodejs-jest-typescript/

comando para executar o teste npx jest

swagger https://dev.to/kabartolo/how-to-document-an-express-api-with-swagger-ui-and-jsdoc-50do https://www.npmjs.com/package/swagger-jsdoc https://github.com/Surnet/swagger-jsdoc https://mherman.org/blog/swagger-and-nodejs/ https://stackoverflow.com/questions/66932152/syntax-error-swagger-jsdoc-setup-in-nodejs-typescript-express https://github.com/kabartolo/jsonplaceholder-express-api/tree/docs https://swagger.io/docs/specification/media-types/

swagger custom theme https://www.npmjs.com/package/swagger-ui-express

decorators extends https://levelup.gitconnected.com/extending-or-simplifying-typescript-decorators-5e3cff556b96

Readme

Keywords

Package Sidebar

Install

npm i stathis-core

Weekly Downloads

0

Version

1.0.84

License

ISC

Unpacked Size

199 kB

Total Files

254

Last publish

Collaborators

  • rogerlozada
  • gabrieelds
  • andersonxbs