<commit_before>## Hapi-appi

This is a single resource app that uses a server side framework (Hapi), Mongoose, MongoDB to enact basic CRUD and REST to GET, PUT, PATCH and DELETE content in a database.

## Dependencies
For app
Mongoose, Mongo DB, Hapi, Httpie*
*in command line only

For testing
Mocha, Chai: request, expect, and Chai-http


## Setup
To run Hapi-appi:

In the first terminal activate the mongo daemon to sync with data directory in your project:

``` mongod --dbpath=./data


  This starts the mongod deamon and will run in the background.

In the second terminal activate app through index:

```node index
```

  This starts up the server.

In a third terminal

## Usage

```
```<commit_msg>fixing boxes<commit_after>## Hapi-appi

This is a single resource app that uses a server side framework (Hapi), Mongoose, MongoDB to enact basic CRUD and REST to GET, PUT, PATCH and DELETE content in a database.

## Dependencies
For app
Mongoose, Mongo DB, Hapi, Httpie*
*in command line only

For testing
Mocha, Chai: request, expect, and Chai-http


## Setup
To run Hapi-appi:

In the first terminal activate the mongo daemon to sync with data directory in your project:

```
mongod --dbpath=./data
```

  This starts the mongod deamon and will run in the background.

In the second terminal activate app through index:

```node index
```

  This starts up the server.

In a third terminal

## Usage

```
```
{'fraction_non_alphanumeric': 0.07968970380818054, 'fraction_numerical': 0.0, 'mean_word_length': 3.9964788732394365, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2666730', 'n_tokens_mistral': 458, 'n_tokens_neox': 427, 'n_words': 213}