Skip to content

Commit

Permalink
doc: update README
Browse files Browse the repository at this point in the history
  • Loading branch information
bmsptra24 committed Jan 18, 2024
1 parent bca2739 commit adab0b5
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ Nebeng is a ride-sharing app designed specifically for students, providing an ef
## API Endpoints 📡

- **Login:**

- Endpoint: `/login`
- Method: `POST`
- Request Body:
Expand All @@ -128,4 +129,25 @@ Nebeng is a ride-sharing app designed specifically for students, providing an ef
}
```

- **Nearby-Locations:**

- Endpoint: `/nearby-locations`
- Method: `GET`
- Request params:
```
lat: 37.7749
lng: -122.4194
radius: 5000
type: restaurant
```

- **Detail-Location:**
- Endpoint: `/getDetailLocation`
- Method: `GET`
- Request params:
```
lat: 37.7749
lon: -122.4194
```

---

0 comments on commit adab0b5

Please sign in to comment.