Strapi, GraphQL, Mongoose

Quick Startnpx create-next-app next-with-apollo
startSession: create Sessionsession.startTransaction // start transaction
session.commitTransaction // commit and save changes
session.endSession // end transaction
Even though you are using several models, session can be applied to everything once it is declared. Therefore, it will fail if one of the processes fail.




Consistency achieves everything

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

The DNA of JavaScript

How Events & Scripts Work with InAppBrowser in

How to Drag & Drop HTML Elements and Files using Javascript

Angular pluggable apps. Is it the right approach? - Part 1

My first time writing a Webpack Loader

Learn React With ME :)

Let’s make a simple todo app with Go

XSS challenge — The XSS rat & BugPoc

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Joo Hee Paige Kim

Joo Hee Paige Kim

Consistency achieves everything

More from Medium

Handling Previews in a Headless Architecture — Strapi and Next.js

Migrating to Next.js

Dealing with form data in Next.js

Creating a Markdown Blog Powered by Next.js in Under an Hour