REST API for a rudimentary blog - from Prisma Day 22 NestJS workshop

Overview

NestJS Workshop Prisma Day 22 - Let's build a REST API with NestJS and Prisma!

Welcome to the code repository for the Prisma Day 2022 NestJS Workshop!

Resources

Get Started

Quickly get started with the appropriate lesson by cloning/checking out the relevant branch from this repo.

  1. Lesson 1: git clone -b lesson-1-begin [email protected]:TasinIshmam/nestjs-workshop-prisma-day-22.git
  2. Lesson 2: git clone -b lesson-2-begin [email protected]:TasinIshmam/nestjs-workshop-prisma-day-22.git
  3. Lesson 3: git clone -b lesson-3-begin [email protected]:TasinIshmam/nestjs-workshop-prisma-day-22.git
  4. Lesson 4: git clone -b lesson-4-begin [email protected]:TasinIshmam/nestjs-workshop-prisma-day-22.git
  5. Lesson 5: git clone -b lesson-5-begin [email protected]:TasinIshmam/nestjs-workshop-prisma-day-22.git

Installation

  1. Install dependencies: npm install
  2. Start a PostgreSQL database with docker using: docker-compose up -d.
    • If you have a local instance of PostgreSQL running, you can skip this step. However you will need to update the DATABASE_URL inside the .env file with the correct environment variable.
  3. Apply database migrations: npx prisma migrate dev
  4. Start the project: npm run start:dev
  5. Access the project at http://localhost:3000/api
You might also like...

Functional Programming with NestJS, Prisma. immutable, pure, stateless

Functional-NestJS Functional Programming with NestJS, Prisma. immutable, pure, stateless. 1. Introduction A production ready typescript backend reposi

Dec 6, 2022

Application template for NestJS + Docker + Prisma + MySQL

nestjs-docker-prisma-mysql Application template for NestJS + Docker + Prisma + MySQL Setup # install $ yarn # Setup env file for database $ cp .env.e

Oct 15, 2022

Prisma +2 generator to emit Yup schemas from your Prisma schema

Prisma +2 generator to emit Yup schemas from your Prisma schema

Prisma Yup Generator Automatically generate Yup schemas from your Prisma Schema, and use them to validate your API endpoints or any other use you have

Dec 24, 2022

Prisma 2+ generator to emit Joi schemas from your Prisma schema

Prisma 2+ generator to emit Joi schemas from your Prisma schema

Prisma Joi Generator Automatically generate Joi schemas from your Prisma Schema, and use them to validate your API endpoints or any other use you have

Dec 24, 2022

Prisma +2 generator to emit a tRPC shield from your Prisma schema

Prisma +2 generator to emit a tRPC shield from your Prisma schema

Prisma tRPC Shield Generator Automatically generate a tRPC Shield from your Prisma Schema. Updates every time npx prisma generate runs. Table of Conte

Dec 24, 2022

Prisma 2+ generator to emit Zod schemas from your Prisma schema

Prisma 2+ generator to emit Zod schemas from your Prisma schema

Prisma Zod Generator Automatically generate Zod schemas from your Prisma Schema, and use them to validate your API endpoints or any other use you have

Dec 27, 2022

This is a library to alternate and self-host the Prisma Data Proxy (cloud.prisma.io)

This is a library to alternate and self-host the Prisma Data Proxy (cloud.prisma.io)

Alternative Prisma Data Proxy This is a library to alternate and self-host the Prisma Data Proxy (cloud.prisma.io). In order to deploy your project to

Dec 28, 2022

Chrome Extensions are something which we use very frequently in our day-to-day life for example Grammarly

Chrome-Extension Chrome Extensions are something which we use very frequently in our day-to-day life for example Grammarly, In this project similarly,

Dec 14, 2022

Obsidian plugin: get things dead day by day

Obsidian Daily Todo Pro Plugin 中文说明 inspired by https://github.com/shichongrui/obsidian-rollover-daily-todos get things dead day by day - enhance your

Sep 18, 2022
Owner
Tasin Ishmam
Developer Advocate | Backend Engineer
Tasin Ishmam
simple-remix-blog is a blog template built using Remix and TailwindCSS. Create your own blog in just a few minutes!

simple-remix-blog is a blog template built using remix.run and TailwindCSS. It supports markdown and MDX for the blog posts. You can clone it and star

José Miguel Álvarez Vañó 8 Dec 8, 2022
Grupprojekt för kurserna 'Javascript med Ramverk' och 'Agil Utveckling'

JavaScript-med-Ramverk-Laboration-3 Grupprojektet för kurserna Javascript med Ramverk och Agil Utveckling. Utvecklingsguide För information om hur utv

Svante Jonsson IT-Högskolan 3 May 18, 2022
Hemsida för personer i Sverige som kan och vill erbjuda boende till människor på flykt

Getting Started with Create React App This project was bootstrapped with Create React App. Available Scripts In the project directory, you can run: np

null 4 May 3, 2022
Kurs-repo för kursen Webbserver och Databaser

Webbserver och databaser This repository is meant for CME students to access exercises and codealongs that happen throughout the course. I hope you wi

null 14 Jan 3, 2023
Workshop contruyendo una API Rest con Node.js + Koa.js

Workshop contruyendo una API Rest con Node.js + Koa.js Tabla de Contenido Acerca de Introducción Explicación del caso de uso Ciclo de vida de las soli

Jhony Rivero 6 Apr 8, 2022
A basic example of a GraphQL API built with NestJS, Prisma and TypeScript

A progressive Node.js framework for building efficient and scalable server-side applications. Description Nest framework TypeScript starter repository

Richard Hong 15 Dec 18, 2022
This is a vanilla Node.js rest API created to show that it is possible to create a rest API using only vanilla Node.js

This is a vanilla Node.js rest API created to show that it is possible to create a rest API using only vanilla Node.js. But in most cases, I would recommend you to use something like Express in a production project for productivity purposes.

Eduardo Dantas 7 Jul 19, 2022
🐶 Puppies Rest Api built with NestJs, TypeOrm, PostgreSQL, Swagger

?? Quick start: Install node Install nest cli: `npm i -g @nestjs/cli` Initialize a nestjs project `nest new project-name` Swagger Docs swagger docs P

Ogunnusi Abayomi Joseph 3 Oct 1, 2022
This repository aims to create a POC about authentication and authorization using NestJS, Prisma and JWT.

A progressive Node.js framework for building efficient and scalable server-side applications. Description Nest framework TypeScript starter repository

Vinícius Fraga Modesto 2 Nov 2, 2022
Fullstack Turborepo starter. Typescript, Nestjs, Nextjs, Tailwind, Prisma, Github Actions, Docker, And Reverse proxy configured

Turborepo (NestJS + Prisma + NextJS + Tailwind + Typescript + Jest) Starter This is fullstack turborepo starter. It comes with the following features.

Ejaz Ahmed 132 Jan 9, 2023