An open API service indexing awesome lists of open source software.

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

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