Skip to content
/ express-ts-mongo Public template

REST api using Typescript, NodeJS, ExpressJs , Mongodb and MVC architecture. zod used for schema validation

Notifications You must be signed in to change notification settings

aungphyoex/express-ts-mongo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Features

  • Get all users
  • Create new user (register)
  • Update user email and username
  • Delete user

Prerequisites

Node version 20.x

Cloning the repository

git clone https://github.com/aungpyaephyo1412/express-ts-mongo.git

Install packages

pnpm i

Setup MongoDB URL

In .env:

PORT=*******
MONGO_URL = *****************************
API_VERSION=***********
TOKEN_SECRET = **************************

Start the index

pnpm dev

Available commands

Running commands with npm pnpm [command]

command description
dev Starts a development
build Build the api

About

REST api using Typescript, NodeJS, ExpressJs , Mongodb and MVC architecture. zod used for schema validation

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published