# angular/in-memory-web-api

The code for this project has moved to the angular/angular repo. This repo is now archived.

Repository: https://github.com/angular/in-memory-web-api
Canonical: https://ross.abutalabs.com/products/in-memory-web-api
Language: TypeScript
License: MIT
License Family: permissive
Archived: true
Last push: 2020-05-15T05:23:57+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3780, "days_push": 2301, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1166, forks 224 (observed 2026-08-28T04:03:50.317474+00:00)

## What it is
An Angular library that intercepts Http and HttpClient requests and redirects them to an in-memory data store, emulating a REST API with CRUD operations. It is intended for demos, prototypes, and tests rather than production use, and the code has since moved into the angular/angular repo.

## Use cases
- simulate a REST backend for Angular demo apps without running a server
- prototype CRUD apps quickly before building a real API
- share live Angular examples on Plunker or CodePen
- unit test apps that read and write data with a resettable data store
- run end-to-end tests in CI without touching a real database
- stub out collections not yet implemented on a dev server

## When to choose
- building Angular demos, tutorials, or prototypes that need fake CRUD persistence
- writing Angular unit or e2e tests that need consistent in-memory HTTP responses
- sharing runnable Angular examples in browser coding environments

## When to avoid
- production applications needing a real backend
- projects needing faithful emulation of complex real-world web APIs
- teams needing active maintenance or stable guarantees - the repo is archived and always experimental

## Facets
- artifact type: library
- maturity: abandoned
- function: mocking, http-client, testing, e2e-testing
- domain: web-development, frontend, testing, developer-tools
- platform: cross-platform
- tags: angular, in-memory-database, http-interceptor, mock-api, rest, crud-simulation, archived, web-server, nodejs

## Member repositories
- angular/in-memory-web-api (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:50.317474+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:28:58.689253+00:00, confidence not recorded.
  - readme: https://github.com/angular/in-memory-web-api (fetched 2026-08-28T04:03:50.317474+00:00, sha 8a2cfad23f51)
- Data as of 2026-08-30T08:39:29.467469+00:00.
