Skip to content

This is a simple RESTful API built for automation testing practice. It provides predictable responses and basic endpoints that testers can use to validate test scripts, API automation tools, and workflows.

Notifications You must be signed in to change notification settings

adminvns/testapi

Repository files navigation

testapi

A lightweight and customizable RESTful API built with Node.js and Express, designed for testing and learning purposes. This project serves as a foundational template for developers looking to understand API development, middleware integration, and deployment workflows.

🚀 Live Demo

Experience the API in action: https://testapi-4r9g.onrender.com

🧰 Tech Stack

  • Node.js – JavaScript runtime environment
  • Express – Web framework for Node.js
  • Nodemon – Utility that monitors for changes and restarts the server
  • Morgan – HTTP request logger middleware
  • Body-Parser – Parses incoming request bodies in middleware

🛠️ Getting Started

Prerequisites

Installation

git clone https://github.com/adminvns/testapi.git
cd testapi
npm install
nodemon server.js

## 🧪 API Endpoints

- `GET /api/orders` – Lists demo order  
- `POST /api/products` –  Lists demo products
_For full details, check the route definitions in [`api/routes/`](./api/routes/)._

About

This is a simple RESTful API built for automation testing practice. It provides predictable responses and basic endpoints that testers can use to validate test scripts, API automation tools, and workflows.

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •