Simple API - Node.js - Express - TypeScript - No commentary
Описание
Let's make a simple API in Node.js using Express in TypeScript in 10 minutes.
0:00 - Start
0:09 - Install dependencies
1:08 - Add custom npm commands
2:12 - Add environment variables
2:27 - Create API entry point
4:26 - Make first (and the only one) controller of the example project
6:30 - Try to run the API - get an error
7:07 - Fix error - missing the proper TypeScript configuration
8:25 - Second try for running - get annother error
8:31 - Fix error - typo in the TypeScript configuration
8:39 - Third try - success - API is up and running in development mode
9:00 - Call the get all users endpoint - green result with users
9:33 - Build the project in production mode - success - get the correct JavaScript output in the dist folder
TypeScript: https://www.typescriptlang.org/
Express.js: https://expressjs.com/
Node.js: https://nodejs.org/en/
Udemy profile: https://www.udemy.com/user/david-csejtei/
LinkedIn profile: https://www.linkedin.com/in/davidcsejtei/
Medium profile: https://codinglikedavid.medium.com/
? Join my slack group to get help: https://join.slack.com/t/codinglikedavid/shared_invite/zt-wowi9q4g-0N_ngfSx0dcOUMaRftdylQ
Рекомендуемые видео



















