@@ -12,8 +12,8 @@ docs: true
1212 <h1>Build Fast. Learn More.</h1>
1313 <p class="subtitle">A lightweight, educational HTTP server framework built with Node.js</p>
1414 <div class="cta-buttons">
15- <a href="/docs /getting-started/quick-start" class="button button--primary">Get Started</a>
16- <a href="/docs/ guides/why-hasty " class="button button--secondary">Why Hasty? </a>
15+ <a href=". /getting-started/quick-start" class="button button--primary">Get Started</a>
16+ <a href="./ guides" class="button button--secondary">Explore the Docs </a>
1717 </div>
1818 </div >
1919</div >
@@ -31,14 +31,36 @@ docs: true
3131 </div >
3232 <div class =" feature " >
3333 <h3>🔌 Extensible</h3>
34- <p>Middleware support and easy to extend for your specific needs .</p>
34+ <p>Middleware support- **Educational**: Designed for learning HTTP server fundamentals .</p>
3535 </div >
3636 <div class =" feature " >
3737 <h3>🛠️ Zero Dependencies</h3>
3838 <p>Built with pure Node.js, no external dependencies required.</p>
3939 </div >
4040</div >
4141
42+ ## Explore the Docs
43+
44+ <div class =" doc-grid " >
45+ <div class =" doc-card " >
46+ <h4>📚 Guides</h4>
47+ <p>Learn how to use Hasty Server effectively</p>
48+ <a href="./guides/routing">Routing Guide →</a>
49+ </div >
50+
51+ <div class =" doc-card " >
52+ <h4>📁 Static Files</h4>
53+ <p>Serve static assets with Hasty Server</p>
54+ <a href="./guides/static-files">Static Files →</a>
55+ </div >
56+
57+ <div class =" doc-card " >
58+ <h4>⚠️ Limitations</h4>
59+ <p>Understand what Hasty Server does NOT support</p>
60+ <a href="./guides/limitations">Limitations →</a>
61+ </div >
62+ </div >
63+
4264## Quick Start
4365
4466``` bash
@@ -50,7 +72,7 @@ const Hasty = require('hasty-server');
5072const app = new Hasty ();
5173
5274app.get(' /' , (req, res) => {
53- res.json({ message: ' Hello, Hasty Server!' });
75+ res.json({ message: ' Hello from Hasty Server!' });
5476});
5577
5678app.listen(3000);
@@ -60,17 +82,17 @@ app.listen(3000);
6082
6183- ** Core HTTP Server** : Built on Node.js native ` http ` module
6284- ** Routing** : Simple and intuitive route definitions
63- - ** Middleware ** : Powerful middleware support
85+ - ** Educational ** : Designed for learning HTTP server fundamentals
6486- ** Static Files** : Built-in static file serving
6587- ** CORS** : Easy CORS configuration
6688- ** Error Handling** : Robust error handling patterns
6789
6890## Get Started
6991
70- - [ Quick Start] ( /docs /getting-started/quick-start) - Get up and running in minutes
71- - [ Guides ] ( /docs/ guides) - Learn through practical examples
72- - [ API Reference ] ( /docs/api ) - Detailed API documentation
73- - [ Examples ] ( /docs/examples ) - Ready-to-run example applications
92+ - [ Quick Start] ( . /getting-started/quick-start) - Get up and running in minutes
93+ - [ Routing Guide ] ( ./ guides/routing ) - Understand route handling
94+ - [ Static Files Guide ] ( ./guides/static-files ) - Serve static assets
95+ - [ Limitations Guide ] ( ./guides/limitations ) - Understand what Hasty Server does NOT support
7496
7597## Community
7698
0 commit comments