mikro-orm / nestjs-realworld-example-app
Example real world backend API built with NestJS + MikroORM
AI Architecture Analysis
This repository is indexed by RepoMind. By analyzing mikro-orm/nestjs-realworld-example-app in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.
Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.
Repository Overview (README excerpt)
Crawler view> ### NestJS + MikroORM codebase containing real world examples (CRUD, auth, advanced patterns, etc) that adheres to the RealWorld API spec. > Rewrite of https://github.com/lujakob/nestjs-realworld-example-app to MikroORM. --- Getting started Installation Install dependencies yarn Copy config file and set JsonWebToken secret key cp src/config.ts.example src/config.ts --- Database The example codebase uses MikroORM with a MySQL database. Copy MikroORM config example file for database settings and adjust the connection settings. cp src/mikro-orm.config.ts.example src/mikro-orm.config.ts Now you can start the application with . It will automatically create the database and run initial migration that sets up the database schema. --- NPM scripts • - Start application • - Start application in watch mode • - run Vitest test runner • - Build application --- API Specification This application adheres to the api specifications set by the Thinkster team. This helps mix and match any backend with any other frontend without conflicts. > Full API Spec More information regarding the project can be found here https://github.com/gothinkster/realworld --- Start application • • Test api by browsing to • View automatically generated swagger api docs by browsing to • Run e2e tests from the repository with --- Authentication This applications uses JSON Web Token (JWT) to handle authentication. The token is passed with each request using the header with scheme. The JWT authentication middleware handles the validation and authentication of the token.