Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/1998code/isitdownorjustme-API
An API for 'is it down or just me' monitor.
https://github.com/1998code/isitdownorjustme-API
api code nextjs status
Last synced: 3 months ago
JSON representation
An API for 'is it down or just me' monitor.
- Host: GitHub
- URL: https://github.com/1998code/isitdownorjustme-API
- Owner: 1998code
- License: mit
- Created: 2022-06-05T07:35:42.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-08T07:17:31.000Z (about 1 year ago)
- Last Synced: 2024-05-01T16:53:52.953Z (6 months ago)
- Topics: api, code, nextjs, status
- Language: CSS
- Homepage: https://monitor-api.vercel.app
- Size: 336 KB
- Stars: 4
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- project-awesome - 1998code/isitdownorjustme-API - An API for 'is it down or just me' monitor. (CSS)
README
## Getting Started
### Full Tutorial
https://1998design.medium.com/how-to-get-website-status-with-website-monitor-api-a396e945c007First, run the development server:
```bash
npm run dev
# or
yarn dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
[API routes] This endpoint can be edited in `pages/api/public.js`.
## How to use
1. METHOD: GET
2. API Path: http://localhost:3000/api/public?url=
2a. Local API Sample: http://localhost:3000/api/public?url=https://apple.com or
2b. Testing API Sample: https://monitor-api.vercel.app/api/public?url=https://apple.com
3. Return: `{
"status": 200,
"statusText": "OK",
"isUP": true,
"isDown": false
}`## Questions?
- Please open an issue or ask in discussion section.