Giter VIP home page Giter VIP logo

text-parser-express's Introduction

Text file parser with Node.js Express and Swagger

Basic Features

```bash
    
    1. User call a get endpoint to fetch the number of words from textfile
    2. User call a get endpoint to fetch the number of characters from textfile
    3. User call a get endpoint to fetch the number of sentences from textfile
    4. User call a get endpoint to fetch the number of paragraphs from textfile
    5. User call a get endpoint to fetch the longest words in paragraphs from textfile
```

Project Run Instruction

Step 1: git clone https://github.com/shaikhalamin/text-parser-express.git

Step 2: cd text-parser-express

Step 3: cp .env.example .env

Step 4: npm i

Step 5: npm run data:seed 5e6  //for 5 million record 

Step 6: Please wait until the seed is complete

Step 7: now copy the filename from src/seeder/data and past the filename in src/controller/fileparser/file-parser.helper.js -- in line 5

Step 8: npm run dev

N:B: Now please open the browser window and go to the swagger api docs at http://localhost:3000/v1/api-docs/ to call the respected api to get the result

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.