Skip to content

Aariv/LogParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to Log Parser! 👋

About

A log parser application with a backend built using Node.js and TypeScript that converts a log file in a specific format to a JSON file. The log file format includes a timestamp, log level, transaction ID, and log information. The frontend, built using React and Tailwind CSS, provides a UI for uploading the log file and downloading the parsed JSON file. The UI includes a button for uploading the file and an alert to show API error messages. The build tool used is Vite.

Run Locally

Clone the project

  git clone https://github.com/Aariv/LogParser.git

Go to the project directory

  cd LogParser

Navigate to client

  cd client

Install dependencies

  npm install

Run application

  npm run dev

Navigate to server

  cd server

Install dependencies

  npm install

Run application

  npm run dev

Start the server

  npm run start

Features or Limitations

  • Uploads a text file using API.
  • Download JSON file received from API response.

API Reference

Parse to json

  POST /api/logs/logParser/fileName
Parameter Type Description
body file Required file containing the text to be parsed

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published