Express JS JSON Server

JSONExpress

A powerful JSON server built with Express JS for rapid JSON API development. Better alternative to json-server with upcoming SQL server JSON integration and zero configuration.

Express JS JSON API

Built on Express JS for reliable JSON server performance

SQL Server JSON (Coming Soon)

Upcoming compatibility with SQL server JSON data and advanced querying

Better than json-server

Enhanced features and performance over traditional json-server

šŸš€ JSON Server Quick Start

Install JSON Server Globally

Global json-server installation
npm install -g @json-express/core
Start your Express JS JSON server

# Navigate to your project
cd my-project

# Create sample JSON data (SQL server JSON ready)
echo '[{"name": "Encore", "releaseDate": "12-11-2004"}]' > albums.json

# Start JSON server
json-server

Local Express JSON Installation

Install JSON server locally
npm install @json-express/core
Run Express JS JSON API with npx

# Create sample JSON data
echo '[{"name": "Encore", "releaseDate": "12-11-2004"}]' > albums.json

# Start json-server alternative
npx json-express

āš™ļø Configuration

JSON Express favors convention over configuration, but when you need customization, simply create a config.json file in the same directory as your JSON data files.

Creating a Configuration File

Create config.json in your project directory

# Create config.json in your project directory
echo '{"PORT": "8080"}' > config.json

Available Configuration Options

config.json
{
  "PORT": "8080"
}

Example Project Structure

Project structure with config.json
my-project/
ā”œā”€ā”€ config.json     # Optional configuration
ā”œā”€ā”€ albums.json     # Your data files
ā”œā”€ā”€ artists.json    # Your data files
└── ...