CSV-Stock-Manager

CSV Stock Manager

A full-stack inventory management app built with Node.js, Prisma, and Next.js for handling inventory data from CSV files. The app allows you to upload, validate, and manage stock data with ease, providing a responsive user interface and flexible cloud deployment options.

https://www.loom.com/share/b3f35b435d6349b4adf7e59edfa23d29

Features

Tech Stack and Technologies

This project leverages a modern tech stack for both the frontend and backend, ensuring scalability, maintainability, and ease of development. The backend handles the business logic, data processing, and validation, while the frontend provides a seamless and responsive user interface for managing inventory data.

Backend

Frontend

Installation

  1. Clone the repository:

    git clone https://github.com/JohnAdib/CSV-Stock-Manager.git
    
  2. Copy the necessary environment files:

    • Make sure to copy the .env.example file in the backend directory and rename it to .env. Update the environment variables as needed.
    cp backend/.env.example backedn/.env
    
  3. Install the dependencies for both the backend and frontend:

    cd backend
    npm install
    
    cd ../frontend
    npm install
    
  4. Start the backend and frontend servers with turborepo:

     npm run dev
    
  5. Access the app at http://localhost:3000.

Deploy in Cloud

To deploy the app to a cloud, we need to add a Dockerfile for the backend and frontend, and a docker-compose file to run both services together. We can then build the Docker image and push it to a container registry like Docker Hub. Finally, we can deploy the image to a cloud platform.

Screenshot

3d-print-manager 3d-print-manager 3d-print-manager 3d-print-manager 3d-print-manager 3d-print-manager 3d-print-manager 3d-print-manager