A Node.js template for building APIs using Express with TypeScript.
-
Install the dependencies:
npm install
-
Start the server:
# Run from TS entrypoint npm run dev # Run with hot-reload npm run watch # Build and run JS entrypoint npm run build && npm start
Your server is running on port 3000, so you can test it by running:
curl localhost:3000/api/ping