Skip to content

mahmoudsaidd/ASDC

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Excel File Upload Task

Task Explanation

The Excel File Upload Task focuses on implementing a robust solution for uploading Excel files containing product data to a web application. The primary objectives are to validate the data from the Excel files and store it in a MongoDB database. The task involves utilizing various technologies to achieve these goals.

Features

1. Excel File Upload

  • Users can upload Excel files containing product information.
  • The application accepts files in a specified format, expecting data such as product name, description, location, price, and color.

2. Data Validation

  • The uploaded Excel data undergoes validation to ensure correctness and completeness.
  • Validation rules include checking for required fields and data types.

3. Storing Data in MongoDB

  • Validated data is stored in a MongoDB database.
  • MongoDB provides a flexible NoSQL schema, accommodating the varied nature of product data.

Technologies Used

1. Node.js

  • Runtime Environment: Node.js is used as the server-side runtime environment for executing JavaScript code.

2. Express.js

  • Web Framework: Express.js is employed as the web application framework to simplify routing and handling HTTP requests.

3. MongoDB

  • Database: MongoDB is used as the NoSQL database to store the product data.

4. Mongoose

  • ODM (Object Data Modeling): Mongoose is utilized as an ODM to provide a schema-based solution for modeling MongoDB documents.

5. Multer

  • File Upload Handling: Multer is employed to handle file uploads, allowing for easy integration of file upload functionality in the application.

API Documentation

For detailed information on how to interact with the API, refer to the API Documentation. The documentation includes details on endpoints, request formats, and expected responses.

Getting Started

To run the project locally, follow these steps:

  1. Clone the Repository:
    git clone https://github.com/your-username/your-excel-upload-project.git
  2. Navigate to the Project Directory:
    cd your-excel-upload-project
  3. Run the Application:
    npm run dev
  4. Explore the API EndPoints

Contributing

Contributions to the project are welcome. Please follow the outlined contribution guidelines in the README.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published