SaaSHub helps you find the best software and product alternatives Learn more →
Top 23 JavaScript REST-API Projects
-
insomnia
The open-source, cross-platform API client for GraphQL, REST, WebSockets, SSE and gRPC. With Cloud, Local and Git storage.
-
swagger-ui
Swagger UI is a collection of HTML, JavaScript, and CSS assets that dynamically generate beautiful documentation from a Swagger-compliant API.
-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
-
SpaceX-API
:rocket: Open Source REST API for SpaceX launch, rocket, core, capsule, starlink, launchpad, and landing pad data.
-
node-express-boilerplate
A boilerplate for building production-ready RESTful APIs using Node.js, Express, and Mongoose
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
headless-wp-starter
🔪 WordPress + React Starter Kit: Spin up a WordPress-powered React app in one step
-
mediacms
MediaCMS is a modern, fully featured open source video and media CMS, written in Python/Django and React, featuring a REST API.
-
frisby
Frisby is a REST API testing framework built on Jest that makes testing API endpoints easy, fast, and fun. (by vlucas)
-
woo-next
:rocket: React WooCommerce theme, built with Next JS, Webpack, Babel, Node, Express, using GraphQL and Apollo Client
-
node.js-clean-architecture
A use case of Clean Architecture in Node.js comprising of Express.js, MongoDB and Redis as the main (but replaceable) infrastructure.
-
rest-api-tutorial
This is a sample source code for the article published on Toptal: https://www.toptal.com/nodejs/secure-rest-api-in-nodejs
-
SaaSHub
SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives
Use tools like Postman or Insomnia to test the API endpoints and ensure they behave as expected.
Project mention: Simplifying Angular Development with Swagger: A Step-by-Step Guide | dev.to | 2024-04-11Swagger is a fantastic open-source toolset that's perfect for developing and describing RESTful APIs. It offers you a user-friendly interface to understand a service's capabilities without needing to dig into the code. It even provides a way for you to interact directly with the API, which means you get to test its functionality.
Backend as a Service (BaaS) goes back to early 2010’s with companies like Parse and Firebase. These products integrated everything a backend provides to a webapp in a single, integrated package that makes it easier to get started and enables you to offload some of the devops maintenance work to someone else.
Restify & Fastify Hapi
Project mention: Building a Basic Forex Rate Assistant Using Agents for Amazon Bedrock | dev.to | 2024-04-29I did the same for the other API and adjusted the spec using the Swagger Editor. Specifically, I added detailed descriptions that should help the agent understand the API usages. The resulting OpenAPI YAML file is as follows:
Hi, I'm trying to build a Nuxt 3 module that fetch an OpenAPI schema at build time (it should also run when the dev server starts) using Swagger-client. Can anybody give some guidance ? I've had it somewhat working in a Nuxt 2, but never finished or used it.
Last, host something like https://github.com/mediacms-io/mediacms to serve the optimized files. As long as your clients are not halfway across the world, they should be able to watch the videos with relative ease.
View on GitHub
import { useEffect, useState } from "react"; import axios from "axios"; import "./App.css"; import InfiniteScroll from "react-infinite-scroll-component"; import CharacterCard from "./components/Card"; function App() { const [characters, setCharacters] = useState([]); const [page, setPage] = useState(1); const [hasMore, setHasMore] = useState(true); const [totalPages, setTotalPages] = useState(1); const fetchData = async () => { if (page == totalPages + 1) { setHasMore(false); return; } // <-----------------------------------------------> // waiting for 1 second before fetching data to show loading spinner, you can skip this await new Promise((resolve) => setTimeout(resolve, 1000)); // <-----------------------------------------------> const res = await axios.get( `https://rickandmortyapi.com/api/character?page=${page}` ); setCharacters((prevPosts) => [...prevPosts, ...res.data.results]); setTotalPages(res.data.info.pages); setPage((prevPage) => prevPage + 1); }; useEffect(() => { fetchData(); }, []); return (
Rick and Morty characters!h1> Loading...h4>} endMessage={
Yay! You have seen it allb> p> } > {/* Map over characters array and return JSX */} {characters.map((character, index) => ( ))} InfiniteScroll> div> ); } export default App;
While you've learned to create an Express application with express-openapi in this section, it's been light on information about the OpenAPI specification and the express-openapi package. You can start with the OpenAPI guide if you'd like to learn more about the OpenAPI specification and the express-openapi documentation for more information on how to use the package.
View on GitHub
JavaScript REST-API related posts
-
Ask HN: Alternatives to Postman?
-
Free Random Quotes API - WhollyAPI
-
Make your Azure OpenAI apps compliant with RBAC
-
Bruno
-
The Collaborative API Development Platform – Insomnia
-
Local automation
-
Angular Interview - Implement Data Reload
-
A note from our sponsor - SaaSHub
www.saashub.com | 16 May 2024
Index
What are some of the best open-source REST-API projects in JavaScript? This list will help you:
Project | Stars | |
---|---|---|
1 | insomnia | 33,244 |
2 | swagger-ui | 25,610 |
3 | parse-server | 20,641 |
4 | Restify | 10,701 |
5 | SpaceX-API | 10,298 |
6 | swagger-editor | 8,688 |
7 | node-express-boilerplate | 6,533 |
8 | headless-wp-starter | 4,442 |
9 | nodejs-basics | 2,970 |
10 | Swagger Client | 2,583 |
11 | mediacms | 2,352 |
12 | rest | 1,779 |
13 | quotable | 1,687 |
14 | frisby | 1,519 |
15 | swagger-parser | 1,061 |
16 | rick-and-morty-api | 958 |
17 | open-api | 877 |
18 | woo-next | 861 |
19 | node.js-clean-architecture | 717 |
20 | rest.js | 511 |
21 | json-server-heroku | 505 |
22 | restana | 455 |
23 | rest-api-tutorial | 424 |
Sponsored