fastify
dotenv
Our great sponsors
fastify | dotenv | |
---|---|---|
124 | 219 | |
30,348 | 18,370 | |
1.8% | - | |
9.4 | 9.0 | |
5 days ago | 22 days ago | |
JavaScript | JavaScript | |
GNU General Public License v3.0 or later | BSD 2-clause "Simplified" 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.
fastify
-
Should you use jest as a testing library?
For example, Fastify removed the instanceof operatorfrom its codebase because it was causing problems for those developers that rely on jest as a testing framework.
- Is this a valid reason to give up node?
-
Next JS vs Nest JS
Both are frameworks but NextJs is for Forntend (web app in browser that use ReactJs under the hood) and NestJs is for Backend (server app running on a server witch use Express or Fastify). The only thing similar between them is the typed language in which they were written.
-
Stop using express.js
Restify & Fastify Hapi
-
Aplicação de Referência Empresarial em JavaScript - Contoso Real Estate
Fastify
-
Building a modern gRPC-powered microservice using Node.js, Typescript, and Connect
In setting out to build this service, we wanted to use gRPC for its APIs. We’ve been reaching for REST when building APIs so far, primarily out of necessity, i.e., our public APIs needed auto-generated client SDKs and docs for developers working with them. We built those APIs with Fastify and Typebox but felt burned by a code-first approach to generating an OpenAPI spec. I’ll spare you the details and save that experience/learning for another article. Suffice it to say we love gRPC’s schema-first approach. This blog post summarizes our feelings well
- Node.js 20 is now available
-
Node JS Microservice Frameworks for Developing Scalable Web Apps.
Fastify – Fast and Low overhead web framework
-
How to Speed Up your Applications by Caching at the Edge with HarperDB
Custom Functions are powered by Fastify (a light-weight Node.js framework that claims to be faster than Express.js), so they’re extremely flexible.
-
Building a Node API with Fastify, esbuild, and Nx
We’ll be using Fastify as the framework of choice. Fastify is a fast (as the name implies) and low-overhead server in Node. It has grown in popularity, recently crossing the 1 million weekly download mark on npm. I’m a fan of Fastify’s plugin architecture, and the ecosystem is quite impressive, boasting over 250 core and community plugins.
dotenv
-
Tutorial: React + Emailjs
We will put our Emailjs environment variables in a dotenv (.env) file. To read more about the purpose of this file click here.
-
How to Use Environment Variables in Node.js
Add .env to your .gitignore file to prevent it from being committed. Here's an example file with it already added. You may also use dotenv for advanced configuration and it will automatically load environment variables from a .env file into process.env.
-
Extracting YouTube video data with OpenAI and LangChain
dotenv: Designed to load environment variables from a .env file into the process.env environment
-
Top Secrets Management Tools for 2024
Like Doppler, Infisical uses environment variable injection. Similar to the Dotenv package for Node, when used in Node, it injects them at run time into the process object of the running app so they're not readable by any other processes or users. They can still be revealed by a crash dump or logging, so that is a caveat to consider in your code and build scripts.
- AI for Web Devs: Your First API Request to OpenAI
-
An intro to Appwrite | Building a To-do list with SvelteKit
We'll be working with databases' ids and different info that should be secured so I would advise you to create a .env file to store said info. We'll do this by installing dotenv into our project and use it accordingly:
-
Building and deploying AI agents with E2B
dotenv - For reading our API keys from the environment
- Servidor para Blog, com Autenticação JWT - Node.Js & Mysql
-
How to get the count of your followers on dev.to
Add the following code to your index.js file. Make sure to update the API_TOKEN with your secret. Even better: Use the dotenv NPM package to keep your code free of secret keys.
-
How to implement a vector database for AI
Let’s break down what’s happening here. First, we import the necessary packages, the Weaviate client and the dotenv configuration. dotenv is a package that loads environment variables from a .env file into process.env. The Weaviate and OpenAI keys and URLs are typically stored in environment variables to keep them secret and out of your codebase.
What are some alternatives?
Next.js - The React Framework
cross-env
Express - Fast, unopinionated, minimalist web framework for node.
Koa - Expressive middleware for node.js using ES2017 async functions
Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀
multiline
Hapi - The Simple, Secure Framework Developers Trust
AdonisJs Framework - AdonisJS is a TypeScript-first web framework for building web apps and API servers. It comes with support for testing, modern tooling, an ecosystem of official packages, and more.
Electron - :electron: Build cross-platform desktop apps with JavaScript, HTML, and CSS
bun - Incredibly fast JavaScript runtime, bundler, test runner, and package manager – all in one
hardhat-deploy - hardhat deployment plugin
tinyhttp - 🦄 0-legacy, tiny & fast web framework as a replacement of Express