Skip to content

jonahallibone/mikro-orm-nextjs

Repository files navigation

This is a Next.js project bootstrapped with create-next-app using mikro-orm.

Tutorial

You can read my medium guide here

Getting Started

Run npm install

First, run the development server:

npm run dev

Open http://localhost:3000 with your browser to see the result.

Configuration notes

This repo contains a few extra packages to get decorators working with NextJS and babel. You can see them by inspecting .babelrc

There is also a configuration for the CLI tool. Notability, the tsconfig.orm.json has a target of ES6 to run migrations.

Folder and file structure

The general structure and importing of files is up to the developer however, this was just the way I have set it up.

Issues

Feel free to open any issues or PRs if you're having trouble or want to add to this repo.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published