Skip to content

A simple REST API built with Hono to serve mission data from the game Red Dead Redemption 2. This project demonstrates: - Basic REST API principles (GET requests) - Routing with Hono - Handling mock data without a database - Project setup with Bun

Notifications You must be signed in to change notification settings

endisuwandii/rdr2-missions-api

Repository files navigation

RDR2 Missions Backend REST API

LIVE DEMO :

https://rdr2-missions-api-production.up.railway.app/

📋 Endpoint Table - Missions API

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

🚀 Base URL

🎮 RDR2 Missions API

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.


✨ Features

  • 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).

📦 Requirements

  • Bun installed on your computer.

🚀 Getting Started

To install dependencies:

 bun install

To run :

bun run dev

1. Clone the repository

git clone https://github.com/your-username/rdr2-missions-api.git
cd rdr2-missions-api

About

A simple REST API built with Hono to serve mission data from the game Red Dead Redemption 2. This project demonstrates: - Basic REST API principles (GET requests) - Routing with Hono - Handling mock data without a database - Project setup with Bun

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •