node-api/README.md

24 lines
406 B
Markdown
Raw Normal View History

2023-12-24 03:17:09 +00:00
# Basic API server (Node.js + Express.js and TypeScript)
2023-12-23 16:25:57 +00:00
## Abstract
2023-12-24 03:17:09 +00:00
A basic functional template for creating an API server using Node.js + Express.js and TypeScript.
## Test
The template is functional and you can test it using HTTPie, curl or Postman.
### Start the API server
npm run dev
HTTPie
http localhost:3000/ => returns "Main page loaded"
http localhost:3000/data => returns
...
...