Welcome to the Getting Started tutorial! This guide will walk you through the basics of setting up and using our HTTP server. 🚀

📌 Prerequisites

Before you begin, ensure you have:

  • A terminal or command prompt
  • Basic understanding of HTTP concepts
  • Internet connection

💡 Tip: If you're new to HTTP, check out our HTTP Basics Tutorial for a quick overview.

🧰 Step-by-Step Setup

  1. Install the Server
    Run the installation command:

    npm install -g our-http-server  
    
    installation_process
  2. Start the Server
    Navigate to your project directory and execute:

    our-http-server start  
    

    This will launch the server on http://localhost:3000.

  3. Send Your First Request
    Use curl or your browser to access:

    curl http://localhost:3000/docs  
    
    request_process
  4. Handle Responses
    The server will return JSON data by default. Customize response formats in the config.js file.

📚 Next Steps

📌 Conclusion

You're now ready to build and deploy your own HTTP services! 🌐

http_server

Happy coding! 🚀