Express.js and FastAPI Backend Snippets
Simple extension to add some basic backend snippets for Express.js and FastAPI to Visual Studio Code.
Source Code - https://github.com/StarkBotsIndustries/backend-snippets
Available at https://marketplace.visualstudio.com/items?itemName=StarkProgrammer.backend-snippets
Snippets
Express.js
nexpress - Generate Boilerplate for Node.js Express ('require' syntax)
_nexpress - Express.js boilerplate (with 'import' syntax)
exget - Get request
expost - Post request
exl - Listening Event (Startup)
FastAPI
pyfastapi - Generate Boilerplate for FastAPI
fa-get - Get request
fa-post - Post request
fafi - Set favicon.ico for your project
fastatic - Mount static files
fajinja - Define Jinja Templates
fafr - Return File Response
_fafr - Return File Response without importing class
fasu - Startup Event
fasd - Shutdown Event
| |