Skip to content

Commit

Permalink
update readme and add indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
janishar committed Jun 26, 2024
1 parent 1f7c5c8 commit b5695f1
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 b5695f1

Please sign in to comment.