https://rdr2-missions-api-production.up.railway.app/
Method | Endpoint | Description | Status ✅/❌ |
---|---|---|---|
GET | / |
Displays a welcome message | ✅ |
GET | /missions |
Retrieves all mission data | ✅ |
GET | /missions/:id |
Retrieves mission details by ID | ✅ |
POST | /missions |
Adds a new mission | ✅ |
DELETE | /missions/:id |
Deletes a mission by ID | ✅ |
PATCH | /missions/:id |
Not available yet - partially update data | ❌ |
PUT | /missions/:id |
Not available yet - fully update data | ❌ |
DELETE | /missions |
Not available yet - delete all missions | ❌ |
Welcome to the RDR2 Missions API!
This is a simple REST API built with Hono and Bun to serve mission data from the popular game Red Dead Redemption 2.
The project was created as part of backend learning to demonstrate the basic principles of APIs, routing, and data handling.
- RESTful API → Uses standard HTTP methods (GET) to access mission data.
- Mock Data → Provides data from a JavaScript array (no database required).
- Fast & Lightweight → Powered by Hono (minimalist web framework) and Bun (modern JavaScript runtime).
- Bun installed on your computer.
To install dependencies:
bun install
To run :
bun run dev
git clone https://github.com/your-username/rdr2-missions-api.git
cd rdr2-missions-api