https://github.com/utsavdotpro/starter-expressjs-prisma-ts
A starter template for ExpressJS with Prisma in TypeScript
https://github.com/utsavdotpro/starter-expressjs-prisma-ts
expressjs prisma starter-template typescript
Last synced: about 2 months ago
JSON representation
A starter template for ExpressJS with Prisma in TypeScript
- Host: GitHub
- URL: https://github.com/utsavdotpro/starter-expressjs-prisma-ts
- Owner: utsavdotpro
- Created: 2022-01-21T23:59:10.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2022-01-22T00:38:29.000Z (over 4 years ago)
- Last Synced: 2025-03-28T23:46:09.070Z (about 1 year ago)
- Topics: expressjs, prisma, starter-template, typescript
- Language: TypeScript
- Homepage:
- Size: 29.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ExpressJS with Prisma in TypeScript
A starter template for ExpressJS with Prisma in TypeScript
**Using**
- [ExpressJS](https://expressjs.com/) v4
- [Prisma](https://www.prisma.io/) v3
- [TypeScript](https://typescriptlang.org) v4
[
](https://githubbox.com/u-barnwal/starter-expressjs-prisma-ts)
---
## How to Reuse Locally?
Use `degit` to download the repository locally.
> ### ❓ What is [degit](https://github.com/Rich-Harris/degit)?
> degit downloads a copy of git repository with downloading its entire git history.
Install degit globally.
````bash
npm install -g degit
````
Download the latest version
````bash
degit u-barnwal/starter-expressjs-prisma-ts
````
## How to Reuse on [CodeSandbox](https://codesandbox.io)?
> CodeSandbox is an online code editor and prototyping tool that makes creating and sharing web apps faster.
[
](https://githubbox.com/u-barnwal/starter-expressjs-prisma-ts)
To fork, use the button above or follow these steps:
- Go to [codesandbox.io](https://codesandbox.io)
- Click on **Start coding for free**
- If logged in, click on **New Sandbox**
- Click on **Import Project**
- Enter https://github.com/u-barnwal/starter-expressjs-prisma-ts as **GitHub Repository URL**
- Click on **Import and Fork**
- ✅
## Getting Started
Install dependencies
````bash
yarn install
````
Run the development server
````bash
yarn dev
````
Run the production server
````bash
yarn build
yarn start
````
## Credits
- Tutorial from **Traversy Media**: https://youtu.be/zRo2tvQpus8
- Blog from **AppSignal**: https://blog.appsignal.com/2021/07/21/how-to-get-started-with-prisma-orm-for-nodejs-and-postgresql.html