Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.
/ next-ts Public archive

NextJS and Typescript Fullstack Web2 quickstart based on personal preference 🚀 Dependencies were up to date.

Notifications You must be signed in to change notification settings

sasicodes/next-ts

Repository files navigation

This is a NextJS typescript project with Prisma ORM and Apollo GraphQL.

Getting Started

Install all your dependencies using,

yarn

# or 

npm i
  • Add your database url in environment variable DATABASE_URL. (replace .env.example to .env)

  • Migrate your tables from prisma.schema to database using,

prisma migrate dev

Once done, run your development server using,

npm run dev

# or

yarn dev

(Optional) Start your prisma studio using,

npx prisma studio

Servers

Usage

nexus - to generate schema for typescript

  • In nexus we have to define the types manually

Using codegen to generate types for our application based on schema.graphql as input

About

NextJS and Typescript Fullstack Web2 quickstart based on personal preference 🚀 Dependencies were up to date.

Topics

Resources

Stars

Watchers

Forks