Skip to content

Latest commit

 

History

History
34 lines (20 loc) · 947 Bytes

File metadata and controls

34 lines (20 loc) · 947 Bytes

Backend Challenge - Hello World API

Introduction

Create a simple web service that returns a "Hello, World!" message when accessed.

This challenge is tech-agnostic. Choose your preferred programming language and framework. For beginner level, no database required.

Objectives

  • Build a basic REST API endpoint
  • Understand HTTP GET requests and JSON responses

Instructions

  1. Environment Setup:

    • Programming language and web framework
  2. Implementation Details:

    • Create a GET endpoint at /hello that returns a JSON response: {"message": "Hello, World!"}
  3. Testing:

    • Start your server and use curl or a browser to test: GET /hello

Possible Improvements

  • Add support for custom messages via query parameters
  • Implement different HTTP status codes

Conclusion

By completing this challenge, you will gain practical experience in creating and testing basic web services.

Happy coding!