Git Product home page Git Product logo

go-import-file-csv's Introduction

Go Upload File CSV

This is an example Go project that demonstrates uploading and processing CSV files containing account information. It includes a web server to handle file uploads and a backend service for processing the uploaded files.

Features

  • Upload CSV files containing account information.
  • Process and create accounts from the uploaded files.
  • Monitor the status of file processing.
  • Retrieve information about processed files and their accounts.

Prerequisites

  • Go 1.11 or higher
  • Git

Getting Started

  1. Clone the repository:
git clone https://github.com/kirian-dev/go-import-file-csv.git
cd go-upload-file-csv
  1. Run server
go run ./cmd/main.go

The server will be available at http://localhost:8080.

API Endpoints

  • GET /api/files: Get a list of processed files.
  • GET /api/files/{fileId}: Get details of a specific processed file.
  • POST /api/files: Upload a CSV file for processing.

Project Structure

  • cmd/: Main application entry point.
  • internal/: Internal application code.
  • handlers/: HTTP request handlers.
  • models/: Data models.
  • services/: Business logic and file processing services.
  • utils/: Helpers for working with a file.
  • scripts/: Scripts for generating test CSV files.

License

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

go-import-file-csv's People

Contributors

kirian-dev 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.