<commit_before># AutoApp

AutoApp is a MERN app scaffolding generator.

## Huh?
It makes new MERN apps.

## Neat!
Right? Just feed it some assets and watch it go...

## Features

- Complete [MERN](https://www.mongodb.com/mern-stack) setup
- [REST API](https://en.wikipedia.org/wiki/Representational_state_transfer) back-end
	- Server on [:9000](http://localhost:9000)
	- Client on [:3000](http://localhost:3000)
- [Mongoose](http://mongoosejs.com/)
- [React Router](https://reactrouter.com/)

## Make it so!

### Clone
Clone the repo into your empty project directory. Don't forget the trailing dot!

`$ git clone http://github.com/jasmyn/AutoAppJS.git .`


### Configure
Edit the config object at the top of aa.js.

| config key | description                                           |
|------------|-------------------------------------------------------|
| name       | The site/app name.                                    |
| dbNoun     | The thing you're using the db to store.               |
| dbDef      | The db field names, types and if they're required.    |
| yarn       | True installs dependencies with yarn. False uses npm. |

 Then replace the contents of `assets/` with your 
	`favicon.ico`
	`logo192.png`
	`logo512.png`
	
### Create

`$ npm install` or `$ yarn install`

*The next step can take several minutes as AutoApp installs both client and server dependencies. It's noticably faster with yarn. If using yarn,  set config.yarn to true to prevent lock file conflicts.*

`$ node aa`

### Usage

Make sure Mongo is running locally, then...

`$ npm run dev` (development)

`$ npm run debug` (debug)

`$ npm start` (production)

**All done! Your app is live on [localhost:3000](localhost:3000)**<commit_msg>README formatting<commit_after># AutoApp

AutoApp is a MERN app scaffolding generator.

## Huh?
It makes new MERN apps.

## Neat!
Right? Just feed it some assets and watch it go...

## Features

- Complete [MERN](https://www.mongodb.com/mern-stack) setup
- [REST API](https://en.wikipedia.org/wiki/Representational_state_transfer) back-end
	- Server on [:9000](http://localhost:9000)
	- Client on [:3000](http://localhost:3000)
- [Mongoose](http://mongoosejs.com/)
- [React Router](https://reactrouter.com/)

## Make it so!

### Clone
Clone the repo into your empty project directory. Don't forget the trailing dot!

`$ git clone http://github.com/jasmyn/AutoAppJS.git .`


### Configure
Edit the config object at the top of aa.js.

| config key | description                                           |
|------------|-------------------------------------------------------|
| name       | The site/app name.                                    |
| dbNoun     | The thing you're using the db to store.               |
| dbDef      | The db field names, types and if they're required.    |
| yarn       | True installs dependencies with yarn. False uses npm. |

 Then replace the contents of `assets/` with your 
	`favicon.ico`
	`logo192.png`
	`logo512.png`
	
### Create

`$ npm install` or `$ yarn install`

*The next step can take several minutes as AutoApp installs both client and server dependencies. It's noticably faster with yarn. If using yarn,  set config.yarn to true to prevent lock file conflicts.*

`$ node aa`

### Commands

Make sure Mongo is running locally, then...

`$ npm run dev` (development)

`$ npm run debug` (debug)

`$ npm start` (production)

**All done! Your app is live on [localhost:3000](localhost:3000)**
{'fraction_non_alphanumeric': 0.1542015593416113, 'fraction_numerical': 0.017326017903551833, 'mean_word_length': 2.470941883767535, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 6, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '36261', 'n_tokens_mistral': 1102, 'n_tokens_neox': 1003, 'n_words': 370}