Skip to content

aayush240/Flask_csvTOdatabase_REST_API

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flask_csvTOdatabase_REST_API

REST API that does the following things :

  1. Allows user to upload a CSV file.
  2. The API should then upload the rows in CSV file to any database of your choice.
  3. Returns a list of all entries in the database.

Html Form to upload CSV

image

Database After CSV upload

image

Display Database

image

How to

  1. Dowload the .zip file and extract it.
  2. Install following Libraries a. pip install Flask b. pip install mysql-connector-python c. pip install pandas
  3. Create a New Database "csvtodatabase" (I am using XAMPP Server).
  4. Import Dataset "csvtodatabase.sql"
  5. Run main.py file using "python main.py"
  6. Go to http://127.0.0.1:5000/ on your Browser.
  7. Upload Sample Dataset product.csv.
  8. Voila!! Great Job

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published