Serverless-Boilerplate-Express-TypeScript
ESLint
Our great sponsors
Serverless-Boilerplate-Express-TypeScript | ESLint | |
---|---|---|
21 | 379 | |
525 | 24,231 | |
- | 1.0% | |
6.0 | 9.7 | |
24 days ago | 7 days ago | |
TypeScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Serverless-Boilerplate-Express-TypeScript
-
My SaaS architecture (tech stack) on AWS as a solo developer
You can find more details in my open source boilerplate: https://github.com/ixartz/Serverless-Boilerplate-Express-TypeScript where I'm using TypeScript.
-
I made an Open Source Node.js Starter Template built with Serverless Framework + TypeScript + Prisma + MongoDB + Express.js + ESLint + Prettier + Jest + VSCode
You can check out the GitHub repo for more details at: Node.js Boilerplate with Serverless and Prisma
- My Open Source JS Backend Starter Kit built with Serverless Framework + TypeScript + Prisma + MongoDB + Express.js + ESLint + Prettier + Jest + VSCode
- I just add Prisma and In-memory MongoDB for local development into my Open Source Serverless Node.js Boilerplate built with TypeScript and Jest
- I just add Prisma and In-memory MongoDB for local development into my Serverless Node.js Boilerplate with TypeScript
- I made an Open Source Node.js Starter Template with Express.js + Serverless framework + TypeScript + Jest + ESLint + Prettier + Husky + Lint-Staged + Commitlint + Dotenv + VSCode (w/ Debugging)
-
Just updated my Node.js Serverless Backend Template by including Jest for testing and Commitlint for better commit message. Built with Express.js + TypeScript + Serverless Framework + ESLint + Prettier + Husky + Lint-Staged + VSCode + Dotenv
Here is the link to the Node.js Boilerplate code: https://github.com/ixartz/Serverless-Boilerplate-Express-TypeScript
- Test Node.js code with Jest directly with free VSCode extension: instant test feedback, real-time code coverage, problem inspector directly inside your editor. Writing tests is now much easier and enjoyable. Configuration in the comments.
-
I Updated my Open Source Serverless Starter Template with Serverless framework 3 + ExpressJS + TypeScript + ESLint (Airbnb config) + Prettier + Husky + Lint-Staged + VSCode (w/ Debugging)
You can checkout the Serverless Boilerplate Typescript GitHub repo.
-
Is Lambda Function URLs a good reason now to use Express.js or any other web framework in AWS Lambda
As you might know, AWS has recently announced AWS Lambda Function URLs. This is a new feature that allows you to deploy your lambda behind a HTTPS endpoint without API Gateway. So, no need to set up a API gateway with related cost associated to it or add complexity to your serverless architecture for a single lambda function. I'm the author of a Serverless Boilerplate Template that uses Express.js with AWS Lambda. Usually, I got a lot of questions on why I add Express.js to my boilerplate code. Indeed, adding Express.js with API Gateway is redundant and it's not necessary. It'll increase the deployed package size. Now with Lambda Function URLs, you don't need an API Gateway all the time. Without API gateway, all HTTP requests are sending to one lambda function. That means you need a Web framework to handle the request like Express.js. To be clear and avoid any confusion, API gateway is still a solution. But, based on your context and your needs, you can choose to use Lambda Function URLs and remove the API gateway. In the past, a lot of people were suggesting me to remove Express.js from my starter code. Now with Lambda Function, I'm not sure if it's a good idea to remove it from your boilerplate code. What is your thoughts on this?
ESLint
-
To Review or Not to Review: The Debate on Mandatory Code Reviews
Automating code checks with static code analysis allows us to enforce code styling effectively. By integrating tools into our workflow, we can identify errors at an early stage, while coding instead of blocking us at the end. For instance, flake8 checks Python code for style and errors, eslint performs similar checks for JavaScript, and prettier automatically formats code to maintain consistency.
-
Biome.js : Prettier+ESLint killer ?
If you're a developer, you're surely familiar with Prettier and ESLint. With over 8 years of existence, they have established themselves as references in the JavaScript ecosystem.
-
Most basic code formatting
eslint is used to avoid code errors
-
How to use Lefthooks in your node project?
No lint errors: The committed code does not contain any lint errors (eslint).
-
Git Project Configuration With Husky and ESLint
Letβs walk through the steps for a one-time setup to configure husky pre-commit and pre-push hooks, ESLint with code styles conventions, prettier code formatter, and lint-staged. Husky automatically runs a script on each commit or push. This is useful for linting files to enforce code styles that keeps the entire code base following conventions.
-
What is an Abstract Syntax Tree in Programming?
GitHub | Website
-
Shared Tailwind Setup For Micro Frontend Application with Nx Workspace
ESLint: A pluggable and configurable linter tool for identifying and reporting on patterns in JavaScript.
-
6 Tools To Help Keep Your Dependencies And Code More Secure
ESLint
-
Six Factors That Raise The Risk Of Bugs In A Codebase
1. Lack of Static Code Analysis Static code analysis tools like TypeScript and ESLint play a crucial role in identifying and preventing bugs. TypeScript provides static typing, enhancing the robustness of the code. ESLint detects issues and enforces coding standards. The absence of these tools can significantly elevate the likelihood of bugs due to the lack of early detection and guidance provided during development.
-
Linting
The industry standard for JavaScript is ESLint. VS Code has an ESLint extension. Here is a guide.
What are some alternatives?
typescript-monorepo-example - Typescript monorepo example
XO - β€οΈ JavaScript/TypeScript linter (ESLint wrapper) with great defaults
serverless-graphql - Serverless GraphQL Examples for AWS AppSync and Apollo
Standard - π JavaScript Style Guide, with linter & automatic code fixer
youtube-playlist-length - Web app to calculate the duration of a YouTube playlist. Uses the YouTube data API v3
prettier - Prettier is an opinionated code formatter.
nx-serverless - π The Ultimate Monorepo Starter for Node.js Serverless Applications
JSHint - JSHint is a tool that helps to detect errors and potential problems in your JavaScript code
jfa-whatsapp-chatbot - π€ With this node.js micro framework using Venom Bot under the hood, you can easily create a WhatsApp Chatbot. You will only need to edit your conversation flow in a single file.
JSLint - JSLint, The JavaScript Code Quality and Coverage Tool
Eleventy-Starter-Boilerplate - π Eleventy Starter is production-ready with SEO-friendly for quickly starting a blog. β‘ Built with Eleventy, ESLint, Prettier, Webpack 5, PostCSS, Tailwind CSS 2 and Netlify CMS (optional).
Babel (Formerly 6to5) - π Babel is a compiler for writing next generation JavaScript.