Skip to content

Creating a User Model with Auto-Incremented Code in TypeScript and MongoDB

Notifications You must be signed in to change notification settings

arivuselvanchinnasamy/node-mongoose-usercode

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-mongoose-usercode

Creating a User Model with Auto-Incremented Code in TypeScript and MongoDB

node-mongoose-usercode

Creating a User Model with Auto-Incremented Code in TypeScript and MongoDB

Prerequisites

Before you begin, ensure you have the following installed:

  • Node.js
  • MongoDB
  1. Getting Started Clone the repository:
git clone https://github.com/arivuselvanchinnasamy/node-mongoose-usercode.git
cd node-mongoose-usercode
  1. Install dependencies:
npm install
  1. Update MongoDB_URI with your database URI in the dbConfig.ts file.

  2. Run the Test Script

npx ts-node test.ts

About

Creating a User Model with Auto-Incremented Code in TypeScript and MongoDB

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published