Skip to content

SATYAM-DCS/CSV-UPLOAD

Repository files navigation

CSV Upload

This time working with external data, as in ‘csv’ files. Uploads a CSV file and shows the data in it.

dependencies:

connect-mongo, mongoose, cookie-parser, dotenv, ejs, express, express-ejs-layouts, express-session, nodemon, csv, csv-parser, fs, multer

Tech Stack:

  • Node JS
  • Express JS
  • Mongo DB
  • HTML, CSS
  • Heroku

Features

  • Uploads any csv file into the system (consider the delimiter to be a comma ‘ , ’).
  • Display a list of all uploaded csv files.
  • When the user selects a file, display all the data
  • search box which searches data from the table
  • Sorting button (ascending and descending) for each column

Directory Structure

CSV Upload
├── index.js
├── package.json
├── package-lock.json
├── .gitignore
├── .env
├── assets
│   ├── css
│   │   └── csv-view.css
│   └── js
│       └── auto-tables.png
├── config
│   └── mongoose.js
├── controllers
│   └── home-controller.js
├── models
│   └── file-path.js
├── routes
│   └── index.js
├── uploads
│   ├── file.csv
:   :
:   :
│   └── file.csv
│     
└── views
    ├── scv-view.ejs
    ├── home.ejs
    └── layout.ejs

Hosted / DEMO

https://boiling-island-53370.herokuapp.com/

🚀 About Me

I'm a full stack developer.

Contributing

Contributions are always welcome!

See contributing.md for ways to get started.

Please adhere to this project's code of conduct.

Feedback

If you have any feedback, please reach out to us at [email protected]

Hi, I'm Developer! 👋

https://github.com/SATYAM-DCS

License

MIT