Skip to content

itzAmka/Node-TS-Starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TypeScript + Prisma + Node.js + Express + SQLite Starter Template

Installation

  1. Install the dependencies

     npm install
    
    or
    yarn
    
    or
    pnpm install
  2. Create a .env file in the root directory and add the following environment variables:

    DATABASE_URL="file:./dev.db"
  3. Write your Prisma schema in prisma/schema.prisma

  4. Run the Prisma commands to generate the Prisma client and migrate the database

    npx prisma migrate dev --name init
  5. Run the development server

    npm run dev
    
    or
    yarn dev
    
    or
    pnpm dev

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published