{"repo":"pshaddel/ts-express-prisma","free":true,"listed":false,"github":"https://github.com/pshaddel/ts-express-prisma","clone":"git clone https://github.com/pshaddel/ts-express-prisma.git","description":"Get started on your next TypeScript-Prisma-Express.js project with ease! Our template includes everything you need, from prettier eslint and tests to a Docker-compose file. Kickstart your development process and build with confidence.","language":"TypeScript","stars":13,"topics":["prisma","postgresql","typescript","boilerplate"],"license":"MIT","category":"databases-storage","readme_excerpt":"Nodejs Typscript Express Prisma Postgres [Sample Backend Template] A Boilerplate for Express Apps with Prisma This repo includes some features that are important to me: - [ ] using Typescript - [ ] Hot Reload in Development - [ ] Using Docker for running Database - [ ] Using a ORM/ODM for the Database(in this case Prisma) - [ ] Linting - [ ] Formatter - [ ] Validator - [ ] Testing(Both unit and integration) - [ ] Using Conventional Commit(Forced by commitlint package) - [ ] Having Git Hooks(using Husky = pre/post) - [ ] Documentation(use TS Docs, JS Docs and typedoc package to turn them to html pages) - [ ] Having a proper pipeline(install, build, lint, format, test) - [ ] Monitoring using Prometheus and Grafana Prerequisites Nodejs and NPM: You can install the latest version here docker: Install docker engine from here. Quick Start First install dependencies: And then start the project: The App is running inside a docker container, it supports hot reload. Now the service is up and is listening on: http://127.0.0.1:3001 Be aware that you need DATABASE URL as a env variable on your system for running the project or tests. You can create a .env file in Prisma folder to do that. Testing We are using Jest as both test library and test runner. For running ts test files we are using SWC which is a lot faster than TS-NODE. This issue of detecting open handles on tests is open on jest: Available scripts in package.json file: Be aware that you need DATABASE URL as a env variable on yo","default_branch":null,"files":null,"tree":[],"storefront":"/r/pshaddel","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/pshaddel/ts-express-prisma/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}