Skip to content

Commit

Permalink
Merge pull request #14 from huntresslabs/dev
Browse files Browse the repository at this point in the history
Dev
  • Loading branch information
HuskyHacks authored Aug 15, 2024
2 parents e8e9595 + dae53f8 commit 0255066
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,4 +41,12 @@ npm run dev
```
The dev server is now live at `localhost:3000`. The app will pull the JSON objects from the local `rogueapps.json` file instead of the live file on GitHub so you can test out adding new RogueApps before they get pushed to prod!


### API
As far as I can tell, Next.js and GitHub pages don't play nice when it comes to exposing an API. But if you want to access the RogueApps dataset, you can curl the GitHub content at `https://raw.githubusercontent.com/huntresslabs/rogueapps/main/public/rogueapps.json`, i.e.:
```bash
$ curl -s https://raw.githubusercontent.com/huntresslabs/rogueapps/main/public/rogueapps.json | jq '.[] | select(.tags | index("BEC"))'
{
"appId": "e9a7fea1-1cc0-4cd9-a31b-9137ca5deedd",
"appDisplayName": "eM Client",
...[snip]...
```

0 comments on commit 0255066

Please sign in to comment.