Express
json-server
Our great sponsors
- Appwrite - The open-source backend cloud platform
- Onboard AI - Learn any GitHub repo in 59 seconds
- Revelo Payroll - Free Global Payroll designed for tech teams
- InfluxDB - Collect and Analyze Billions of Data Points in Real Time
- Sonar - Write Clean JavaScript Code. Always.
Express | json-server | |
---|---|---|
624 | 73 | |
61,968 | 68,586 | |
0.4% | - | |
7.1 | 7.0 | |
8 days ago | 6 days ago | |
JavaScript | 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.
Express
-
Integrating Slonik with Express.js
For those uninitiated, Slonik is a battle-tested SQL query building and execution library for Node.js. Its primary goal is to allow you to write and compose SQL queries in a safe and convenient way. Now, let's see how it pairs with Express.js.
-
Is the Express Generator outdated?
The Express Generator package has only about 9000 weekly downloads according to its npm page, while Express itself has almost 30 million weekly downloads
-
React Hooks now part of Ably’s JavaScript SDK (and how to build a simple React App with Ably)
Start by installing express, the vite-plugin-api package, and the Ably Javascript SDK:
-
React Sees a dip in NPM downloads this week
Okay another update: https://www.npmjs.com/package/express
Express is also down. Can anyone explain what's going on? Are people really moving to Astro, Bun, Svelte? Or NPM is behaving weirdly?
-
Security implications of cross-origin resource sharing (CORS) in Node.js
In this section, we’ll walk through a secure implementation of CORS in a Node.js application. We’ll consider a simple Node.js application using Express.js as its web framework. It will serve as an API for a hypothetical online bookstore.
-
How to build a full-stack authentication app
For the demo project, we used Docker to install and run 3 components (backend, API Gateway, and frontend) with a single command. We employed ExpressJS for the frontend web app, hosting our single page app at localhost:3000. The APISIX Gateway can be accessed at localhost:9080, while our backend API (it can be any API you build using Python, Java, NodeJS and etc.) is set up on localhost:9081.
-
MEAN vs MERN: Decoding the 2 Best Stacks For Your Next Web Project
Express.js
-
The Complete 2023 Guide to Learning TypeScript - From Beginner to Advanced
let's explore using TypeScript on the backend with Nodejs and Express.
-
A first project with ExpressoTS
ExpressoTS is a new developer-friendly TypeScript framework for Server-Side Applications. It's currently built on top of Express, easy to get a new developer on board, light and easy project structure, two different project structure supported (opinionated and non opinionated version), supports MVC, non MVC, architecture. The opinionated template was built on top of clean architecture, you will see concepts embedded in the opinionated template such as entities, useCases, repositories and providers.
-
Complete Guide to Authentication in JavaScript
A quick note: You will be building this API with Node.js and Express. Make sure that Node.js is installed on your machine. If not, go ahead and download it from the official website.
json-server
-
Full Stack To Do list, a step-by-step tutorial
Our backend will be little more than a two-way translation layer between the database and the user interface (UI). Later in this post we will identify other responsibilities of a backend but our implementation will be kept simple to demonstrate the fundamental machinery and concepts. It is worth noting the backend comes in two parts, web server and application server. Both json-server and Express are able to facilitate these roles from the same URL. This is very useful for our tutorial because we do not have to configure the server to manage Cross-Origin Resource Sharing (CORS). It is quite typical for production systems to separate these server roles for all sorts of good reasons but for now it would just create an additional complication.
-
Improve Frontend-Backend development harmony with JSON-Server
JSON-Server creates fake REST API with a minimum amount of configuration, it provides a simple way to create mock RESTful APIs and easily define the required endpoints, allows easy definition of the data schema in a JSON file and can serve as a reference for each figure in the project.
-
Dictionary app
I thought about usingJson Server (hosting the repo with the words on Github to begin with), Googlesheets, or maybe Firestore (i would prefer not to use it ,to avoid extra costs just in case it gets a reasonable amount of users). It isnt a big app so i just want a simple solution for storing the words and fetching them.
-
You can serve static data over HTTP
There is https://github.com/typicode/json-server that is really useful for that matter
-
which backend technology do you see having the brightest future? (for jobs)
JSON server https://github.com/typicode/json-server
- What part of Frontend you don't like doing, but have to do it?
-
Playwright - Mock API
The API server is built using json-server. You can find all the steps to reproduce the feature in this commit.
-
📚 RTK Query Tutorial (CRUD)
json-server will serve in http://localhost:8000
-
API-first development maturity framework
In this approach, you manually create mocks to build the API client. The most traditional version of this approach involves creating mock responses in the form of JSON examples, while recent frameworks allow you to run mock servers based on those JSON examples and some additional custom configuration. This is the most traditional approach to building API clients, but also the most common to this date, and sadly also the most error-prone. As we discussed earlier, JSON Examples tend to be incomplete and often wrong. They’re also a maintenance burden and become deprecated as soon as the API changes. The biggest limitation of this approach is that it doesn’t take advantage of a full API specification, and as the API design changes, there’s a potentially growing drift between JSON examples and the actual API.
-
Do tests without seeing the code!
The best case scenario you would be using something like MirageJS, MSW, or even JSON Server, but mocking fetch is always an option.
What are some alternatives?
Next.js - The React Framework
SvelteKit - web development, streamlined
Nuxt.js - Nuxt is an intuitive and extendable way to create type-safe, performant and production-grade full-stack web apps and websites with Vue 3. [Moved to: https://github.com/nuxt/nuxt]
AdonisJs Application
fastify - Fast and low overhead web framework, for Node.js
Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀
loopback-next - LoopBack makes it easy to build modern API applications that require complex integrations.
Restify - The future of Node.js REST development
Meteor JS - Meteor, the JavaScript App Platform
Koa - Expressive middleware for node.js using ES2017 async functions
oak - A middleware framework for handling HTTP with Deno 🐿️ 🦕
feathers - The API and real-time application framework