{"id":22889729,"url":"https://github.com/SajadTroy/websico","last_synced_at":"2025-10-22T00:31:05.535Z","repository":{"id":218680309,"uuid":"735221745","full_name":"mrsajadpp/websico","owner":"mrsajadpp","description":"A lightweight and flexible web server framework for Node.js.","archived":false,"fork":false,"pushed_at":"2023-12-24T05:29:57.000Z","size":143,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-24T20:43:28.027Z","etag":null,"topics":["api","app","framework","http","rest","restful","router","sinatra","web","websico"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/websico","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrsajadpp.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-12-24T05:29:22.000Z","updated_at":"2024-01-29T04:22:30.000Z","dependencies_parsed_at":"2024-01-23T10:14:49.640Z","dependency_job_id":null,"html_url":"https://github.com/mrsajadpp/websico","commit_stats":null,"previous_names":["mrsajadpp/websico"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsajadpp%2Fwebsico","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsajadpp%2Fwebsico/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsajadpp%2Fwebsico/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrsajadpp%2Fwebsico/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrsajadpp","download_url":"https://codeload.github.com/mrsajadpp/websico/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237569030,"owners_count":19331470,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","app","framework","http","rest","restful","router","sinatra","web","websico"],"created_at":"2024-12-13T21:56:46.028Z","updated_at":"2025-10-22T00:30:59.087Z","avatar_url":"https://github.com/mrsajadpp.png","language":"JavaScript","readme":"# Websico - A Modern Node.js Web Framework\n\nWelcome to Websico, a versatile and lightweight web framework inspired by the simplicity and expressiveness of Express.js. Websico is designed to streamline your Node.js web development experience, providing a simple yet powerful foundation for building web applications, APIs, and more.\n\n[![GitHub license](https://img.shields.io/github/license/mrsajadpp/websico.svg)](https://github.com/mrsajadpp/websico/blob/main/LICENSE)\n[![GitHub issues](https://img.shields.io/github/issues/mrsajadpp/websico.svg)](https://github.com/mrsajadpp/websico/issues)\n[![GitHub stars](https://img.shields.io/github/stars/mrsajadpp/websico.svg)](https://github.com/mrsajadpp/websico/stargazers)\n\n## Table of Contents\n\n1. [Installation](#installation)\n2. [Getting Started](#getting-started)\n3. [Features](#features)\n4. [Middleware](#middleware)\n5. [Routing](#routing)\n6. [Extensibility](#extensibility)\n7. [Error Handling](#error-handling)\n8. [Expressive API](#expressive-api)\n9. [Developer Note](#developer-note)\n10. [Documentation](#documentation)\n11. [Contributing](#contributing)\n12. [License](#license)\n13. [Contact](#contact)\n\n## 1. Installation\n\nTo add Websico to your project, run the following npm command:\n\n```bash\nnpm install websico\n```\n\n## 2. Getting Started\n\nInitialize Websico in your project with the following code:\n\n```javascript\nconst websico = require('websico');\nconst app = websico();\n\napp.listen(3000, () =\u003e {\n    console.log(\"Server started: 3000\");\n});\n\napp.get('/', (req, res) =\u003e {\n    res.send(\"Hello, Websico!\");\n});\n```\n\n## 3. Features\n\n### 3.1 Lightweight\n\nWebsico is designed to be a minimalistic framework, ensuring your codebase remains clean and efficient.\n\n### 3.2 Routing\n\nDefine routes effortlessly and handle various HTTP methods such as GET, POST, PUT, DELETE, etc.\n\n### 3.3 Middleware\n\nEnhance your application's functionality with middleware, allowing for custom processing of requests and responses.\n\n### 3.4 Extensibility\n\nEasily extend Websico's capabilities through middleware or by creating custom plugins tailored to your project's needs.\n\n## 4. Middleware\n\n```javascript\n// Example middleware to log incoming requests\napp.use((req, res, next) =\u003e {\n    console.log(`Received request at ${req.url}`);\n    next();\n});\n```\n\n## 5. Routing\n\n```javascript\n// Handling GET request at the root endpoint\napp.get('/', (req, res) =\u003e {\n    res.send(\"Welcome to Websico!\");\n});\n\n// Handling POST request at /api\napp.post('/api', (req, res) =\u003e {\n    res.json({ message: \"Data received successfully\" });\n});\n```\n\n## 6. Extensibility\n\nWebsico provides a robust architecture for extending functionality. Consider creating custom plugins for your specific use cases.\n\n## 7. Error Handling\n\n```javascript\n// Handling 404 errors\napp.use((req, res) =\u003e {\n    res.status(404).send(\"Page not found\");\n});\n\n// Handling other errors\napp.use((err, req, res, next) =\u003e {\n    console.error(err.stack);\n    res.status(500).send(\"Something went wrong!\");\n});\n```\n\n## 8. Expressive API\n\nWebsico's API is designed to be clear and expressive, making it easy to understand and work with.\n\n## 9. Developer Note\n\nWebsico is inspired by the developer-friendly nature of Express.js. We aim to provide a similar experience, making it easy for developers familiar with Express.js to transition seamlessly to Websico.\n\n## 10. Documentation\n\nFor detailed documentation and examples, visit [Websico Documentation](https://yourdocumentationlink.com).\n\n## 11. Contributing\n\nWe welcome contributions! Feel free to open issues or submit pull requests. Please follow our [Contribution Guidelines](CONTRIBUTING.md).\n\n## 12. License\n\nThis project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.\n\n## 13. Contact\n\nFor inquiries or support, reach out to us at [hello@thintry.com](mailto:hello@thintry.com).\n\nHappy coding with Websico! 🚀\n\n\u003cb\u003eTechnical Support by https://thintry.com/\u003c/b\u003e\n\n\u003cimg src=\"https://thintry.com/wp-content/uploads/2023/12/nobnr2-1.png\" alt=\"Thintry Logo\" width=\"400\"\u003e","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSajadTroy%2Fwebsico","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FSajadTroy%2Fwebsico","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FSajadTroy%2Fwebsico/lists"}