Skip to content

Rutvik-R/Compress_decompress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

COMPRESS-DECOMPRESS

A basic compress-decompress web page built on C++ with a lot of room for work.

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. Contact

About The Project

This web application allows users to compress and decompress text files using the Huffman coding algorithm. The backend of the application is built using C++ and Express.js, while the frontend is developed using Next.js. This README provides instructions for setting up and using the application.

Huffman coding is a lossless data compression algorithm that assigns variable-length codes to input characters based on their frequencies. This enables more frequent characters to be represented with shorter codes, reducing the overall size of the data. The backend handles the compression and decompression processes, while the frontend provides a user-friendly interface for interacting with the application.

Getting Started

This is an example of how you may set up your project locally. To get a local copy up and running follow these simple example steps.

Installation

  • 1. Clone the repo
    git clone https://github.com/Rutvik-R/Compress_decompress.git
  • 2. Install all packages from package.json
      cd Compress_decompress\Front_end
      npm i
      cd ..\Back_end
      npm i
  • 3. Create .env file in Front_end and write
    BACK_END_URL = http://localhost:5000/
    
  • 4. Start Front_end Server for that go in Front_end and run
    npm run dev
    
  • 5. Start Back_end Server for that go in Back_end and run
    node App.js
    
  • 6. Finally Done now open this url in Browser
     http://localhost:3000/
    

Contact

Rutvik Ranpariya - @twitter_handle - [email protected]

Project Link: https://github.com/Rutvik-R/Compress_decompress