A simple Flask application that converts JSON data to CSV format.
- Clone the repository:
git clone https://github.com/nkdanta1/json-to-csv-converter.git
- Navigate to the project directory:
cd json-to-csv-converter
- Create a virtual environment:
python -m venv venv
- Activate the virtual environment:
source venv/bin/activate
- Install the project dependencies:
pip install -r requirements.txt
- Start the Flask application:
flask run
- Navigate to
http://localhost:5000
in your web browser. - Enter JSON data in the input field.
- Click the "Convert" button to convert the JSON data to CSV format.
- Download the CSV file by clicking the "Download CSV" button.
To run the unit tests, use the following command:
pytest
.