Cookie-parser Parse Cookie header and signed cookie support
Helmet secure Express apps by setting various HTTP headers
Compression compress response bodies for all request
Read-Eval-Print-Loop (REPL) takes - executes single user inputs, and returns the result to the user, interactive environment, inspect dependency graph and call methods on providers - controllers directly from terminal
Serve Static serve static content like a Single Page Application (SPA)
Webpack hot-reload auto recompile the entire project each time a change occurs
gRPC support to run in any environment across data centers based on the concept of defining a service in terms of functions (methods) that called remotely
Session store information about the user across multiple requests, which is particularly useful for MVC applications.
Versioning allows you to have different versions of your controllers or individual routes running within the same application.
CSRF (Cross-site request forgery) type of malicious exploit of a website where unauthorized commands are transmitted from a user that the web application trusts
rate-limiting protect your application from brute-force attacks
# Init prisma
npx prisma init
# turn database schema into a Prisma schema
npm run prisma:pull
# generate the Prisma Client
npm run prisma:generate
# Create env and migrate db
npm run prisma:migrate
# Sync migrate change to db
npm run prisma:push
# Open prisma studio
npm run prisma:studio
Running with local
# Intall dependencies
$ npm install
# development
$ npm run start
# watch mode
$ npm run start:dev
# production mode
$ npm run start:prod
# unit tests
$ npm run test# e2e tests
$ npm run test:e2e
# test coverage
$ npm run test:cov
Support
Teneno is an MIT-licensed open source project. It can grow thanks to the sponsors and support by the amazing backers. If you'd like to join them, please read more here.