https://github.com/theogrammer/jsonblob-replica
https://github.com/theogrammer/jsonblob-replica
Last synced: 7 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/theogrammer/jsonblob-replica
- Owner: theogrammer
- Created: 2023-04-03T19:41:59.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-04-03T19:38:00.000Z (over 3 years ago)
- Last Synced: 2025-01-30T04:25:33.594Z (over 1 year ago)
- Size: 13.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JSONBlob-Replica
This repository contains a replica of JSONBlob, a simple HTTP service for storing and retrieving JSON data.
## Getting Started
To get started, clone this repository to your local machine:
```console
git clone https://github.com/Tedla2001/JSONBlob-Replica.git
```
## Usage
To start the server, run the following command:
```console
node app
```
This will start the server at http://localhost:8000/api.
### Endpoints
The following endpoints are available:
```http
GET /api/:id: Returns the JSON data stored with the specified ID.
POST /api: Stores the JSON data in the request body and returns the ID.
PUT /api/:id: Updates the JSON data stored with the specified ID.
DELETE /api/:id: Deletes the JSON data stored with the specified ID.
```
### Team
- [Tewodros Amare](https://github.com/teddygizachew)
- [Tedla Tafari](https://github.com/Tedla2001)
- [Lulseged Admasu](https://github.com/lul-g)
## License
This project is licensed under the MIT License. See the LICENSE file for details.