catsmiaow / nestjs-project-structure Goto Github PK
View Code? Open in Web Editor NEWNode.js framework NestJS project structure
License: MIT License
Node.js framework NestJS project structure
License: MIT License
Thanks for sharing this structure. This is the best nestjs boilerplate that I've ever used!
I have 1 question though, is it okay to drop envFilePath in ConfigModule.forRoot({ ... }) ?
Cause I can't access to env variant without declaring envFilePath
ConfigModule.forRoot({
isGlobal: true,
envFilePath: process.env.NODE_ENV === 'dev' ? '.env.dev' : '.env.test', // if not, can't access to env
load: [configuration]
}),
pipes folder is missing?
Me too using multiple files for test cases with jest but without -i parameter. Because -i as per jest documentation is discouraged due to in-efficient in case we have too many files which will be executed in sequence only if being used with -i parameter with jest.
is there any work-around for that?
Hi!
I am calling http://localhost:3333/jwt/check but i get req.user as undefined in LoggerContextMiddleware, so no userId in logs.
Is it working for you?
Will join moogodb support
$ npm run entity 15:08:59
> [email protected] entity ~/node-nestjs-structure
> node bin/entity
✔ Please enter a database name. … dbname1
✔ Choose whether to proceed with the build. … yes
[email protected]
[3:09:58 PM] Starting creation of model classes.
Tables not found in selected database. Skipping creation of typeorm model.
Error occurred in typeorm-model-generator.
[email protected] [email protected]
If you think this is a bug please open an issue including this log on https://github.com/Kononnable/typeorm-model-generator/issues
[3:09:58 PM] Typeorm model classes created.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.