Giter VIP home page Giter VIP logo

cointab_assignment's Introduction

Bulk Data Management App

It is a full-stack web application built with React Js, Chakra UI, Node.js, Express, and MySQL. The app fetches data from a REST API, processes it, and stores it in a MySQL database. It provides functionality to delete all stored data and display stored data in a tabular format with filtering based on the country.

Table of Contents

Video Walkthrough

cointab_assignment.mp4

Features

  • Fetches data from a REST API in bulk and stores it in a MySQL database.
  • Deletes all stored data from the database in a single click.
  • Displays stored data in a tabular format with filtering based on the country.

Technologies Used

  • Frontend:

    • React Js
    • Chakra UI
  • Backend:

    • Node.js
    • Express
    • MySQL

Getting Started

Prerequisites

  • Node.js and npm (Node Package Manager) installed on your machine.
  • MySQL database set up.

Installation

  1. Clone the repository:

    git clone https://github.com/salil-01/Cointab_Assignment
    cd Cointab_Assignment
  2. Install frontend dependencies:

    cd frontend
    npm install
  3. Install backend dependencies:

    cd backend
    npm install

Configuration

  1. Configure MySQL database connection in the backend/config/db.js file.

Usage

  1. Start the backend server:

    cd backend
    npm start
  2. Start the frontend development server:

    cd frontend
    npm start
  3. Open the app in your browser at http://127.0.0.1:5173/

  4. Click the "Fetch Data" button to fetch data from the REST API and store it in the database.

  5. Click the "Delete Data" button to delete all stored data from the database.

  6. Click the "Show User Details" button to see all stored data in a table format.

  7. Use the country filter to narrow down the displayed data.

APIs Used

API Endpoints

  • GET /api/user - retrieve all users stored in database
  • POST /api/user - to store bulk data in database
  • DELETE /api/user - to delete all users stored in database

cointab_assignment's People

Contributors

salil-01 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.