Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/anandkr21/assignment-exactspace
https://github.com/anandkr21/assignment-exactspace
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/anandkr21/assignment-exactspace
- Owner: Anandkr21
- Created: 2023-08-12T18:44:40.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-01T17:22:19.000Z (over 1 year ago)
- Last Synced: 2023-09-02T15:15:47.383Z (over 1 year ago)
- Language: JavaScript
- Homepage: https://exactspace-iokx.onrender.com/
- Size: 24.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# JSON Format Web Application
This is a simple web application that allows you to submit JSON data through a web form and displays the submitted JSON in a formatted manner.
## Getting Started
To run this project locally, follow these steps:
### 1. Clone this repository:
```bash
git clone https://github.com/Anandkr21/assignment-ExactSpace.git
```### 2. Navigate to the project directory:
```bash
cd your-project-name
```### 3. Install the dependencies:
```bash
npm install
```### 4. Start the server:
```bash
node index.js
```### 5. Open your browser and go to [http://localhost:3000](http://localhost:3000) to access the web application.
## Usage
1. In the "Input box," enter valid JSON data into the textarea.
2. Click the "Submit" button to submit the JSON data.
3. The submitted JSON will be displayed in the "Output box" below, formatted for better readability.## Technologies Used
- Node.js
- Express.js
- HTML
- CSS
- JavaScript## API Endpoints
- `POST /post`: Handles JSON data submission. If the data is valid JSON, it responds with the same JSON data. If the data is not valid JSON, it returns an error message.
## Contributing
Contributions are welcome! If you find any issues or have suggestions, feel free to open an issue or submit a pull request.
## Contact
If you have any questions or feedback, you can reach out to [[email protected]]([email protected]).
---