Skip to content

Code4life-Labs/node-auto-built-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NodeTS auto-built template

Develop faster, easier with this template

How to use?

Create endpoints

If you want to create a group of endpoints, you can use the script setup/create-endpoint.js. For example, I want to create a person with 2 endpoints are

  • Method: Post, Endpoint: /person/:id
  • Method: Get, Endpoint: /person/:id

You can use this command

node setup/create-endpoint.js -r person -e [get]:id -e [post]:id

The result is

Then, you can run npm run dev to see the result

About

A auto-built endpoints NodeTS template project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published