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
- Host: GitHub
- URL: https://github.com/nearhuscarl/so-toolkit
- Owner: NearHuscarl
- Created: 2020-09-29T14:22:23.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-08T16:46:57.000Z (almost 5 years ago)
- Last Synced: 2025-01-04T03:10:33.440Z (9 months ago)
- Topics: stackoverflow, webapp
- Language: TypeScript
- Homepage: https://sotoolkit.netlify.app
- Size: 2.77 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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