Skip to content

proptex/nestjs-fastify-mikro-orm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

--Warning-- This combination of frameworks doesn't work correctly due to mikro-orm/nestjs#31 issue. The unit of work is shared between requests.

Start a postgres database:

docker run --name nestjs-fastify-mikro-orm-postgres -e POSTGRES_USER=nestjs-fastify-mikro-orm -e POSTGRES_PASSWORD=password -p 127.0.0.1:5432:5432 postgres:9.6.16

Start node server:

npm install
npx mikro-orm schema:create -r
npm start

Send a post to http://localhost:3000/folders:

curl -X POST "http://localhost:3000/folders" -H "Content-Type: application/json" -d "{}"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published