View Code? Open in Web Editor
NEW
Modern production-ready typescript backend template
Home Page: https://api-template-prod.herokuapp.com
License: MIT License
TypeScript 86.72%
JavaScript 12.99%
Dockerfile 0.21%
Shell 0.08%
api-template's Introduction
Hi, I'm LeChatErrant !
๐ญ Iโm currently working on Back-end architecture, Typescript, Kubernetes and Cloud-computing design pattern
๐ฑ Iโm currently learning Front-end, with React and NextJS
๐ซ You can reach me on :
api-template's People
Watchers
api-template's Issues
Actual behaviour
Husky is used to bind pre-commit scripts
Linter and prisma:format are applied with each commit
Expected behaviour
Linter should only be executed on modified+commited files
prisma:format should only be executed if needed
Feature Request
Husky pre-commit hooks should be removed
Actual behaviour
Every files are linted before each commits, even if not touched
It is more time consuming than expected and only annoy developers
It often lead to confusion in commits when an error occurs, and pipelines are already checking code integrity
Expected behaviour
Pre commit hooks should simply be deleted
Cli should be upgraded to version 3.0.0, featuring :
Better display
Multiple bugs fixed
Full API resource templating, enabling to build directly after generating new code without adding any changes
The process of generating new API resource using the CLI should be documented in the wiki
Currently, database seeding is written inside the app, and executed at launch time
With Prisma v1.19 release, it is now possible to create seeders , and the seeding logic should be migrated to this new mechanism
Currently, the CLI is maintained inside the project
It shall be moved to a standalone npm package, to
be developed and maintained independently from the project
be used across multiple projects
not interact with project dependencies
be used to init a new project
After running integration tests, Prisma Engine should be correctly terminated
Currently, it stays as an orphan process and ends up consuming resource
Release creation has been automated thanks to GitHub actions
A new release can be created under Actions -> Create new release -> Run workflow
Changelog, based on repository data such as issue, should be autogenerated