All Projects → mikan3rd → nest-next-sample

mikan3rd / nest-next-sample

Licence: other
NestJS + Next.js sample application / Backend and Frontend use only TypeScript!!!

Programming Languages

typescript
32286 projects

Projects that are alternatives of or similar to nest-next-sample

gondor
Nestjs Framework, Prisma database layer w/ Angular and Apollo.
Stars: ✭ 14 (-87.27%)
Mutual labels:  apollo, nestjs, prisma
matnbaz
📚 The source-code for matnbaz.net. A monorepo containing the back-end (NestJS/Prisma/Apollo), front-end (Next.js/Apollo) and some tooling.
Stars: ✭ 481 (+337.27%)
Mutual labels:  apollo, nestjs, prisma
redwood
The App Framework for Startups
Stars: ✭ 15,079 (+13608.18%)
Mutual labels:  apollo, prisma
cannercms
⚡️[NOT MAINTAINED] Content Management Framework creates custom CMS fast and easy. Support data sources such as Firebase/Firestore, GraphQL and Restful APIs.
Stars: ✭ 2,452 (+2129.09%)
Mutual labels:  apollo, prisma
boilerplate
Fullstack boilerplate using Typescript, React, Node & GraphQL
Stars: ✭ 738 (+570.91%)
Mutual labels:  apollo, prisma
boilerplate
Boilerplate for @prisma-cms
Stars: ✭ 22 (-80%)
Mutual labels:  apollo, prisma
Amplication
Amplication is an open‑source development tool. It helps you develop quality Node.js applications without spending time on repetitive coding tasks.
Stars: ✭ 3,630 (+3200%)
Mutual labels:  nestjs, prisma
cadhub
We're out to raise awareness and put CodeCAD on the map. The success of CadHub can be measured by the amount it promotes the use of CodeCAD within the mechanical/manufacturing industry and the strength the CadHub community.
Stars: ✭ 204 (+85.45%)
Mutual labels:  apollo, prisma
Nestjs Realworld Example App
Exemplary real world backend API built with NestJS + TypeORM / Prisma
Stars: ✭ 1,838 (+1570.91%)
Mutual labels:  nestjs, prisma
Graphql
GraphQL (TypeScript) module for Nest framework (node.js) 🍷
Stars: ✭ 697 (+533.64%)
Mutual labels:  apollo, nestjs
Naperg
Fullstack Boilerplate GraphQL. Made with React & Prisma + authentication & roles
Stars: ✭ 661 (+500.91%)
Mutual labels:  apollo, prisma
Nestjs Cqrs Starter
NestJS CQRS Microservices Starter Project
Stars: ✭ 80 (-27.27%)
Mutual labels:  apollo, nestjs
react-chat-app
A real-time chat application with Node.js, Prisma, GraphQL, Next.js, React.js and Apollo.
Stars: ✭ 61 (-44.55%)
Mutual labels:  apollo, prisma
react-native-instagram-clone
Instagram Clone (light version) — Graphql + React (ios, android, web)
Stars: ✭ 29 (-73.64%)
Mutual labels:  apollo, prisma
Canner
⚡️[NOT MAINTAINED] Content Management Framework creates custom CMS fast and easy. Support data sources such as Firebase/Firestore, GraphQL and Restful APIs.
Stars: ✭ 2,472 (+2147.27%)
Mutual labels:  apollo, prisma
Firstsight
前后端分离,服务端渲染的个人博客,基于 Nodejs、 Vue、 Nuxt、Nestjs、PostgreSQL、Apollo
Stars: ✭ 19 (-82.73%)
Mutual labels:  apollo, nestjs
nestjs-prisma-starter
Starter template for NestJS 😻 includes GraphQL with Prisma Client, Passport-JWT authentication, Swagger Api and Docker
Stars: ✭ 1,107 (+906.36%)
Mutual labels:  nestjs, prisma
Nestjs Prisma Starter
Starter template for NestJS 😻 includes GraphQL with Prisma Client, Passport-JWT authentication, Swagger Api and Docker
Stars: ✭ 547 (+397.27%)
Mutual labels:  nestjs, prisma
Pizzaql
🍕 Modern OSS Order Management System for Pizza Restaurants
Stars: ✭ 631 (+473.64%)
Mutual labels:  apollo, prisma
Modern Graphql Tutorial
📖 A simple and easy GraphQL tutorial to get started with GraphQL.
Stars: ✭ 219 (+99.09%)
Mutual labels:  apollo, prisma

This project use only TypeScript!!

Tech stack

  • Backend
    • NestJS
    • Prisma
    • GraphQL
  • Frontend
    • Next.js / React
    • GraphQL Code Generator
    • Apollo Client
    • Semantic UI
    • emotion
  • Other
    • yarn workspace
    • ESLint / Prettier / husky
    • Docker / Docker Compose
    • Vercel
    • GCP (CloudSQL / Cloud Run / Cloud Build)

Getting Started

Docker

You can launch the development environment with one command!

docker-compose up

After successful launch, go to the following URL in your browser!

⚠️ Containers have dependencies, but the next container may start to be started before the preparation is complete. If it fails for that reason, please specify the start-up separately as follows.

docker-compose up mysql

See docker-compose.yaml if you want to know more.

Local

  1. Prepare MySQL and create a database for development. Then create file packages/backend/.env and fill in the environment variables.
DATABASE_URL="mysql://username:password@localhost:3306/nest_next_sample"
  1. Do a database migration.
cd packages/backend
yarn install
yarn migrate:deploy
  1. Run the startup command for backend.
yarn start:dev

After successful launch, go to http://localhost:3300/graphql in your browser!

  1. Create file packages/frontend/.env and fill in the environment variables.
SERVER_APOLLO_URI="http://localhost:3300"
PUBLIC_APOLLO_URI="http://localhost:3300"
  1. Run the startup command for frontend.
cd packages/frontend
yarn dev

After successful launch, go to http://localhost:3000 in your browser!

GraphQL exmaple

mutation {
  saveTask(task: { title: "test", categoryIds: [] }) {
    id
    title
    categories {
      id
      name
      color
    }
  }
}
query {
  task(id: 1) {
    id
    title
    taskContents {
      id
      checked
    }
    categories {
      id
      name
    }
  }
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].