{"id":23797093,"url":"https://github.com/medjb10/online-election","last_synced_at":"2026-04-06T08:32:01.385Z","repository":{"id":268782422,"uuid":"905445533","full_name":"MeDjb10/Online-Election","owner":"MeDjb10","description":"Presidential Elections Management System built with Angular, Node.js/Express.js, and MongoDB. Features include user registration, JWT-based authentication, profile management, candidate information, voting, comments, real-time election results, and search. The project also integrates Swagger for API documentation.","archived":false,"fork":false,"pushed_at":"2024-12-18T21:35:10.000Z","size":12556,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-21T14:36:00.299Z","etag":null,"topics":["angular","compodoc-documentation","express","jwt","mongodb","nodejs","nosql-database","swagger"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/MeDjb10.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-12-18T20:59:22.000Z","updated_at":"2024-12-26T13:12:56.000Z","dependencies_parsed_at":"2024-12-18T22:43:25.806Z","dependency_job_id":null,"html_url":"https://github.com/MeDjb10/Online-Election","commit_stats":null,"previous_names":["medjb10/online-election"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MeDjb10/Online-Election","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MeDjb10%2FOnline-Election","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MeDjb10%2FOnline-Election/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MeDjb10%2FOnline-Election/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MeDjb10%2FOnline-Election/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MeDjb10","download_url":"https://codeload.github.com/MeDjb10/Online-Election/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MeDjb10%2FOnline-Election/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31464604,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-05T21:22:52.476Z","status":"online","status_checked_at":"2026-04-06T02:00:07.287Z","response_time":112,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["angular","compodoc-documentation","express","jwt","mongodb","nodejs","nosql-database","swagger"],"created_at":"2025-01-01T20:16:57.539Z","updated_at":"2026-04-06T08:32:01.344Z","avatar_url":"https://github.com/MeDjb10.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Presidential Elections - Online Voting Platform  \n\nA collaborative project to develop a **secure and dynamic online voting system** for presidential elections. Built with **Angular**, **Node.js**, and **MongoDB**, the system ensures transparency, security, and a smooth voting process.\n\n---\n\n## 🚀 **Installation and Setup**  \n\nFollow these steps to set up the project on your local machine.  \n\n### 1. **Clone the Repository**  \n\n```bash  \ngit clone https://github.com/MeDjb10/Online-Election  \ncd Online-Election \n```  \n\n### 2. **Install Dependencies**  \n\n#### Frontend (Angular)  \nGo to the frontend folder and install the required dependencies:  \n\n```bash  \ncd OnlineElection-frontend  \nnpm install    \n```  \n\n#### Backend (Node.js)  \nNavigate to the backend folder and install the backend dependencies:  \n\n```bash  \ncd ../OnlineElection-backend  \nnpm install   \n```  \n\n### 3. **Set up MongoDB**  \n\nEnsure that MongoDB is installed and running on your machine, or use **MongoDB Atlas** for a cloud-based setup.  \n\n1. Start MongoDB on port `27017` locally or configure your **MongoDB Atlas** connection string.  \n2. Ensure your database has the appropriate collections.  \n\n### 4. **Import Data**  \n\nImport any required data (e.g., candidates or voter records) into the MongoDB database using tools like **MongoDB Compass** or the CLI.  \n\nExample of importing data via the command line:  \n\n```bash  \nmongoimport --db ElectionDB --collection candidates --file candidates.json  \n```  \n\n---\n\n## 🔧 **Running the Application**  \n\nAfter setting up the database and installing dependencies, follow these steps to start the application:  \n\n### 1. **Start the Backend Server**  \n\nNavigate to the backend folder and start the server:  \n\n```bash  \nnpm start  \n```  \n\nThe server will run on [http://localhost:3000](http://localhost:3000).  \n\n### 2. **Start the Frontend Application**  \n\nNavigate to the frontend folder and run:  \n\n```bash  \nng serve  \n```  \n\nVisit [http://localhost:4200](http://localhost:4200) in your browser to access the application.  \n\n---\n\n## ⚙️ **Features**  \n\n- **Authentication System**: Login and secure access for both voters and administrators.  \n- **Admin Dashboard**: Manage elections, candidates, and monitor progress.  \n- **Voting System**: Secure and private voting for users.  \n- **Live Results**: Real-time election results visible to authorized users.  \n\n---\n\n## 🛠 **Technologies Used**  \n\n- **Angular**: Frontend framework for creating dynamic and responsive user interfaces.  \n- **Node.js**: Backend runtime for scalable and fast server-side applications.  \n- **MongoDB**: NoSQL database for storing election and user data.  \n- **Compodoc**: For generating frontend documentation.  \n- **Swagger**: For generating backend API documentation.\n\n---\n\n## 💬 **Contributing**  \n\nContributions are welcome! Fork the repository, submit a pull request, or open an issue for suggestions and bug reports.  \n\n---\n\n## 🧑‍💻 **Contact**  \n\nFor any questions or inquiries, feel free to contact us via email at \n[Med Amine Jabou](mailto:jabou.medamine@gmail.com).\n[Med Taleb Mouelhi](mailto:mouelhi.medtaleb@gmail.com).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmedjb10%2Fonline-election","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmedjb10%2Fonline-election","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmedjb10%2Fonline-election/lists"}