Giter Club home page Giter Club logo

csv-data-importer's Introduction

CSV-Data-Importer

CSV Data Importer is a web application that allows users to upload CSV files containing financial data and import the data into a PostgreSQL database using Django Rest Framework (DRF) on the backend and React on the frontend. The application provides an easy-to-use interface for users to upload their CSV files, view the data in tabular format, and import it into the database for further analysis.

Tech Stack

  • Backend: Django Rest Framework (DRF), PostgreSQL, psycopg2, pandas, and pytz.
  • Frontend: React, Axios, and react-toastify.

Features

  • File Upload: Users can upload CSV files containing financial data using a user-friendly interface.

  • Database Import: Validated CSV data is imported into a PostgreSQL database using Django models.

  • Data Display: Users can view the imported data in a tabular format, making it easy to review and analyze.

Run Locally

Clone the project

  git clone https://github.com/pnaskardev/CSV-Data-Importer

Go to the project directory

  cd CSV-Data-Importer

Install venv

  pip install venv

Create a python virtual environement

  python -m venv venv

Start the virtual environement

  venv\Scripts\activate

install required packages

  pip install -r requirements.txt

Create and migrate the database:

    python manage.py makemigrations
    python manage.py migrate

Start the Server

  python manage.py runserver

In a seperate terminal Go to the frontend directory

cd frontend
npm install

Start the React development server:

npm start

Access the App at

  http://127.0.0.1:3000/

Screenshots

image Screenshot (19) image Screenshot (13) image image

API Reference

List all the Products

  GET /get/

Upload the data

  POST /upload/
Parameter Type Description
file file Required CSV file that you want to upload.

Authors

csv-data-importer's People

Contributors

pnaskardev avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.