Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Express.js Event Logging Server

This project is an Express.js server that accepts POST requests on the /events route and writes the received event data to a local file (events.json). If the file does not exist, it will be created.

Setup and Installation

  1. Clone the repository:

    git clone <repository-url>
    cd rmm-load-testing
  2. Install dependencies:

npm install
  1. **Run Server: **
node server.js
  1. Testing: Use this curl to test
curl -X POST http://localhost:3000/events -H "Content-Type: application/json" -d '{"name": "Sample Event", "date": "2024-06-26"}'

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages