Skip to content

Commit

Permalink
Merge pull request #9 from unusualcodeorg/indexes
Browse files Browse the repository at this point in the history
update readme and add indexes
  • Loading branch information
janishar authored Jun 26, 2024
2 parents 1f7c5c8 + b5695f1 commit 1886e00
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
# Modern Backend Development - WhereIsMyMotivation
# NestJS Backend Architecture Project

[![Docker Compose CI](https://github.com/unusualcodeorg/wimm-node-app/actions/workflows/docker_compose.yml/badge.svg)](https://github.com/unusualcodeorg/wimm-node-app/actions/workflows/docker_compose.yml)

## WhereIsMyMotivation

![Cover](.resources/documentations/assets/cover.jpg)

This is a complete production ready project to learn modern techniques and approaches to build a performant and secure backend API services. It is designed for web apps, mobile apps, and other API services.

## Framework
- Nest
- NestJS
- Express Node
- Typescript
- Mongoose
Expand Down
2 changes: 1 addition & 1 deletion src/auth/schemas/keystore.schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ export class Keystore {

export const KeystoreSchema = SchemaFactory.createForClass(Keystore);

KeystoreSchema.index({ code: 1, status: 1 });
KeystoreSchema.index({ client: 1, primaryKey: 1, secondaryKey: 1, status: 1 });

0 comments on commit 1886e00

Please sign in to comment.