https://github.com/sahasawat-boss/open-api
MyAPI is a free and open RESTful API project [ Stack: tidb, dbeaver, node, express , deployed: railway ]
https://github.com/sahasawat-boss/open-api
api-rest express freeapi mysql node railway tidb
Last synced: 9 months ago
JSON representation
MyAPI is a free and open RESTful API project [ Stack: tidb, dbeaver, node, express , deployed: railway ]
- Host: GitHub
- URL: https://github.com/sahasawat-boss/open-api
- Owner: Sahasawat-Boss
- License: mit
- Created: 2025-03-01T02:37:38.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-03-02T10:02:07.000Z (over 1 year ago)
- Last Synced: 2025-03-16T23:18:34.036Z (about 1 year ago)
- Topics: api-rest, express, freeapi, mysql, node, railway, tidb
- Language: HTML
- Homepage: https://myapi-from-boss-free-use.up.railway.app/
- Size: 26.4 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🚀 MyAPI - Free Open API by Boss




## 📖 Overview
**MyAPI** is a free and open RESTful API project, built with **Node.js, Express, and TiDB**, designed to provide **sample user and post data**.
It is deployed on **Railway** and uses **TiDB** as a scalable cloud database, with **DBeaver** for database management.
🌍 **Live API URL**: [https://myapi-from-boss-free-use.up.railway.app](https://myapi-from-boss-free-use.up.railway.app)
## 📌 API Endpoints
### **🏠 Root - API Info**
- **GET** `/`
- Returns an **HTML page** listing available API endpoints.
- Try it: [View API Homepage](https://myapi-from-boss-free-use.up.railway.app/)
---
### **👤 Users Endpoint**
- **GET** `/users`
- Returns a list of **sample users** stored in the database.
- Example Response:
```json
[
{
"id": 1,
"name": "John Doe",
"detail": "Software developer from the USA.",
"age": 28,
"sex": "Male",
"birth": "1996-05-14"
},
...
]
👉 Try it: [View API Users](https://myapi-from-boss-free-use.up.railway.app/posts)
---

