{"id":26661399,"url":"https://github.com/derek486/employee-app-v1","last_synced_at":"2026-04-15T14:02:37.484Z","repository":{"id":215546592,"uuid":"739208969","full_name":"Derek486/employee-app-v1","owner":"Derek486","description":"A full-stack employee management system with an Angular frontend and support for two interchangeable backends: Django (Python) and Express.js (Node.js)","archived":false,"fork":false,"pushed_at":"2025-03-25T00:55:49.000Z","size":151,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-25T01:32:43.383Z","etag":null,"topics":["angular16","django","express","mongodb","sqlite"],"latest_commit_sha":null,"homepage":"","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/Derek486.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-01-05T02:51:44.000Z","updated_at":"2025-03-25T00:55:53.000Z","dependencies_parsed_at":"2024-01-05T04:22:36.664Z","dependency_job_id":"5909260e-55b6-417c-89e2-f65905c2ae09","html_url":"https://github.com/Derek486/employee-app-v1","commit_stats":null,"previous_names":["jjcondoripinto/employeeapp_angular-example","derek486/employeeapp_angular-example","derek486/employee-app-v1"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Derek486%2Femployee-app-v1","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Derek486%2Femployee-app-v1/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Derek486%2Femployee-app-v1/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Derek486%2Femployee-app-v1/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Derek486","download_url":"https://codeload.github.com/Derek486/employee-app-v1/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245467621,"owners_count":20620216,"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":["angular16","django","express","mongodb","sqlite"],"created_at":"2025-03-25T13:17:13.063Z","updated_at":"2026-04-15T14:02:32.446Z","avatar_url":"https://github.com/Derek486.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Employee Management App V1\n\nThis is a **full-stack employee management application** built with **Angular** as the frontend and supports **two interchangeable backends**: one using **Django** and another using **Express.js**. The backend can be switched by modifying a variable in the frontend employee service.\n\n## 🚀 Features\n- **Interoperable Backend**: Choose between Django or Express.js.\n- **Employee CRUD Operations**: Create, Read, Update, Delete employees.\n- **RESTful API**: Fetch data from the selected backend.\n- **Responsive UI**: Built with Angular components.\n- **Modular Architecture**: Clean and maintainable codebase.\n\n## 🛠 Tech Stack\n### **Frontend**\n- **Framework**: Angular\n- **State Management**: Services\n- **Routing**: Angular Router\n- **Styling**: CSS\n\n### **Backend (Django Option)**\n- **Framework**: Django REST Framework (DRF)\n- **Database**: SQLite\n- **Serialization**: Django Serializers\n\n### **Backend (Express.js Option)**\n- **Framework**: Express.js\n- **Database**: MongoDB (or another supported DB via Mongoose)\n- **Validation**: Middleware \u0026 Validators\n\n## 📦 Installation\n### **1️⃣ Clone the repository**\n```sh\ngit clone https://github.com/your-username/employee-app.git\ncd employee-app\n```\n\n### **2️⃣ Set up the backend**\n#### **Django Backend**\n```sh\ncd Backend\npython -m venv myenv\n./myenv/Scripts/activate\npip install -r requirements.txt\npython manage.py migrate\npython manage.py runserver\n```\n\n#### **Express.js Backend**\n```sh\ncd Backend_Express\nnpm install\nnpm start\n```\n\n### **3️⃣ Set up the frontend**\n```sh\ncd Frontend\nnpm install\nng serve\n```\n\n## 🔄 Switching Backend\nModify the **employee service** in the Angular project (`employee-service.service.ts`) to select the appropriate API URL:\n```ts\nconst API_URL = 'http://localhost:8000/api/employees'; // Django backend\n// const API_URL = 'http://localhost:3000/api/employees'; // Express backend\n```\n\n## 📂 Project Structure\n```\nEmployeeApp/\n│── Backend/  (Django Backend)\n│── Backend_Express/  (Express.js Backend)\n│── Frontend/  (Angular Frontend)\n```\n\n## 📸 Preview\n### Employee List\n\u003cimg src=\"./preview/list_employees.png\"\u003e\n\n### Employee Details\n\u003cimg src=\"./preview/show_employee.png\"\u003e","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderek486%2Femployee-app-v1","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderek486%2Femployee-app-v1","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderek486%2Femployee-app-v1/lists"}