{"id":18111573,"url":"https://github.com/eframix/eframix","last_synced_at":"2025-08-02T09:14:23.459Z","repository":{"id":259319144,"uuid":"877426717","full_name":"Eframix/Eframix","owner":"Eframix","description":"A minimalistic and fast framework for building web applications in Node.js.","archived":false,"fork":false,"pushed_at":"2024-10-27T12:01:51.000Z","size":3617,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-27T13:42:04.623Z","etag":null,"topics":["framework","npm-package","typescript"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/eframix","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Eframix.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-23T16:20:13.000Z","updated_at":"2024-10-27T12:06:18.000Z","dependencies_parsed_at":"2024-10-26T23:14:29.783Z","dependency_job_id":"bd9d6d15-4f3b-48d4-9783-7e3ccd8de2a6","html_url":"https://github.com/Eframix/Eframix","commit_stats":null,"previous_names":["efraimnabil/mini-express","express-minimal/express-minimal","eframix/eframix"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eframix%2FEframix","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eframix%2FEframix/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eframix%2FEframix/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Eframix%2FEframix/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Eframix","download_url":"https://codeload.github.com/Eframix/Eframix/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248816358,"owners_count":21166069,"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":["framework","npm-package","typescript"],"created_at":"2024-11-01T01:06:19.186Z","updated_at":"2025-04-14T03:34:10.311Z","avatar_url":"https://github.com/Eframix.png","language":"TypeScript","readme":"# Eframix\n\n![NPM Version](https://img.shields.io/npm/v/eframix)\n![NPM Downloads](https://img.shields.io/npm/dy/eframix)\n![NPM Type Definitions](https://img.shields.io/npm/types/eframix)\n![NPM License](https://img.shields.io/npm/l/eframix)\n\nA minimalistic [Node.js](https://nodejs.org/en) framework inspired by Express.js, offering core routing, middleware, and JSON body parsing features with zero dependencies. Ideal for lightweight HTTP server applications.\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Features](#features)\n- [Quick Start](#quick-start)\n- [Examples](#examples)\n- [Contributing](#contributing)\n- [Technical Committee (TC)](#technical-committee-tc)\n- [License](#license)\n\n---\n\n## Installation\n\nInstall `eframix` from npm:\n\n```bash\nnpm install eframix\n```\n\n## Features\n\n- **Routing**: Support for `GET`, `POST`, `PUT`, and `DELETE` methods.\n- **Middleware**: Add global and route-specific middleware.\n- **Body Parser**: Built-in JSON body parser for handling incoming request data.\n- **Lightweight**: Minimal footprint, built on Node's HTTP module for efficient handling.\n\n## Quick Start\n\nGet started with a basic setup:\n\n```typescript\nimport Router from 'eframix';\n\nconst app = new Router();\n\napp.use(app.bodyParser);\n\napp.get(\"/\", (req, res) =\u003e {\n    res.writeHead(200, { \"Content-Type\": \"text/plain\" });\n    res.end(\"Welcome to Eframix!\");\n});\n\napp.post(\"/data\", (req, res) =\u003e {\n    res.writeHead(201, { \"Content-Type\": \"application/json\" });\n    res.end(JSON.stringify({ received: req.body }));\n});\n\napp.startServer(3000, () =\u003e {\n    console.log(\"Server is running on port 3000\");\n});\n```\n\n## Examples\n\n### Basic Movie API\n\nBelow is a sample structure for a movie API using `eframix`.\n\n```typescript\nimport { addMovie, getAllMovies, getMovieByID, updateMovie, deleteMovie } from './routes/movieRoutes';\nimport Router from 'eframix';\n\nconst app = new Router();\n\napp.use(app.bodyParser);\n\napp.get(\"/api/movies\", getAllMovies);\napp.get(\"/api/movies/:id\", getMovieByID);\napp.post(\"/api/movies\", addMovie);\napp.put(\"/api/movies/:id\", updateMovie);\napp.delete(\"/api/movies/:id\", deleteMovie);\n\napp.startServer(5001, () =\u003e {\n    console.log(\"Server is running on port 5001\");\n});\n```\n\n## Contributing\n\nWe welcome contributions from the community! To get started:\n1. Fork the repository on [GitHub](https://github.com/efraimnabil/eframix).\n2. Create a branch with your feature or fix.\n3. Open a pull request with a detailed description.\n\nPlease follow the coding standards and conventions in the repository.\n\n## Technical Committee (TC)\n\nThe Technical Committee (TC) oversees the direction of `eframix`. Current members include:\n- [Efraim Nabil](https://github.com/efraimnabil)\n- [Mina Magdy](https://github.com/MiinaMagdy)\n\nFor more information on contributing, please visit our [GitHub](https://github.com/efraimnabil/eframix) repository.\n\n## License\n\nThis project is licensed under the MIT License.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feframix%2Feframix","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feframix%2Feframix","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feframix%2Feframix/lists"}