Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Typescript-NodeJs-Express-Seed-Project

Basic Started Project for NodeJS includes Express, Typescript, MongoDB as a database

Installation

npm install

To start project run

npm start

To build project

npm run build

Project APIs

Create a User

POST : http://localhost:8080/api/users/

Request Body

{
    "email" : "swapnil@yopmail.com",
    "firstName" :"Swapnil",
    "lastName" : "Nakhate"
}

Get all users

GET : http://localhost:8080/api/users/

Get User By Id

GET : http://localhost:8080/api/users/{userId}

Update an existing User

PUT : http://localhost:8080/api/users/

Request Body

{
    "email" : "swapnil@gmail.com",
    "firstName" :"Swapnil",
    "lastName" : "Nakhate"
}

Delete an existing user

DELETE : http://localhost:8080/api/users/{userId}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

About

Basic Started Project for NodeJS with Typescript, Express

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages