An open API service indexing awesome lists of open source software.

https://github.com/nearhuscarl/so-toolkit

Stackoverflow toolkit
https://github.com/nearhuscarl/so-toolkit

stackoverflow webapp

Last synced: 8 months ago
JSON representation

Stackoverflow toolkit

Awesome Lists containing this project

README

          

# Stackoverflow Toolkit

## Development

* Clone this project
* Register Your V2.0 Application on [stackapps](https://stackapps.com/apps/oauth/register)
to get a `key`. Pass this `key` when making requests using Stack Exchange API
to receive a higher request quota (10,000 vs 200 per day).
* Create `.env.local` file in your root directory with the following content:

```
REACT_APP_STACK_APP_KEY=your_key
REACT_APP_STACK_APP_CLIENT_ID=your_client_id
```

* Start the dev server

```
npm start
```

### Updating SQL queries (for me only)
* Create `.env.development.local` file in my root directory with the following content:

```
SE_EMAIL=email
SE_PASSWORD=password
```

* Modify any SQL file in [`sql/`](https://github.com/NearHuscarl/so-toolkit/tree/master/sql)
* Run `npm run commit` to get the new revision id of the query
* Open [`src/app/sqlQueries.ts`](https://github.com/NearHuscarl/so-toolkit/blob/master/src/app/sqlQueries.ts) to see the result