Skip to content

denys-source/fake-csv-service

Repository files navigation

Fake CSV Service 📎

The Fake CSV Service project aims to create an online platform using Python and Django for generating CSV files with fake (dummy) data. The application allows users to log in, create custom data schemas with various data types, and generate CSV files based on those schemas. The project utilizes Django's generic views for user authentication/registration and Celery for data generation.

⚙️ Installing using GitHub

Linux/MacOS:

git clone https://github.com/denys-source/fake-csv-service/
cd fake-csv-service/
python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt
python3 manage.py migrate
python3 manage.py runserver

Windows:

git clone https://github.com/denys-source/fake-csv-service/
cd fake-csv-service/
python venv venv
venv\Scripts\activate
pip install -r requirements.txt
python manage.py migrate
python manage.py runserver

🐳 Running with docker

Docker should be installed

sudo docker-compose up --build

📍 Features

  • User Authentication and Registration: Users can register new accounts and log in with a username and password.
  • Data Schema Management: Users can create multiple data schemas with names and columns of specified data types.
  • Flexible Schema Building: Users can create data schemas with any number of columns, each having a specified data type, name, and order.
  • CSV Generation: Enable users to input the number of records and use Celery to generate CSV files with fake data, saving the result in the "media" directory.
  • Interface and Status Labels: Display colored labels indicating each dataset's status (processing/ready/failed).

✅ Demo

image

image

image

image

image