{"id":21683840,"url":"https://github.com/jmdotdev/stackbug","last_synced_at":"2026-04-12T13:02:47.496Z","repository":{"id":174675477,"uuid":"652493326","full_name":"jmdotdev/StackBug","owner":"jmdotdev","description":"StackBug is a question-and-answer platform inspired by Stack Overflow specifically for developers","archived":false,"fork":false,"pushed_at":"2023-06-30T09:32:26.000Z","size":1561,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-25T11:42:43.123Z","etag":null,"topics":["angular","background-services","expressjs","ngrx","nodejs","typescript"],"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/jmdotdev.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":"2023-06-12T07:27:00.000Z","updated_at":"2023-06-19T15:44:14.000Z","dependencies_parsed_at":null,"dependency_job_id":"fe9b1a0f-219e-4c19-8af0-2d0228dfe7f5","html_url":"https://github.com/jmdotdev/StackBug","commit_stats":null,"previous_names":["pochii-cloud/stackbug","jmdotdev/stackbug"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmdotdev%2FStackBug","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmdotdev%2FStackBug/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmdotdev%2FStackBug/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jmdotdev%2FStackBug/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jmdotdev","download_url":"https://codeload.github.com/jmdotdev/StackBug/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244601969,"owners_count":20479534,"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":["angular","background-services","expressjs","ngrx","nodejs","typescript"],"created_at":"2024-11-25T16:13:41.124Z","updated_at":"2026-04-12T13:02:47.446Z","avatar_url":"https://github.com/jmdotdev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# StackBug\n\nStackBug is a question-and-answer platform inspired by Stack Overflow. It allows users to create accounts, ask questions, provide answers, and interact with a community of developers. This project is built using Angular on the frontend, Node.js and Express on the backend, and an MSSQL database for data storage.\n\n## Features\n\n- User Registration: Users can create new accounts with a username, email, and password.\n- Authentication and Authorization: Users can log in with their credentials and access their account. The admin has additional privileges to manage users and projects.\n- Ask Questions: Users can post questions to the community and receive answers from other users.\n- Answer Questions: Users can provide answers to questions posted by other users.\n- Update Questions: Users can edit and update their own questions.\n- Delete User or Project: The admin has the authority to delete user accounts or entire projects if necessary.\n\n## Technologies Used\n\n- Angular: A frontend framework for building dynamic single-page applications.\n- Node.js: A runtime environment for executing JavaScript code on the server-side.\n- Express: A web application framework for Node.js, used for building APIs and handling HTTP requests.\n- MSSQL: A relational database management system for storing and managing data.\n\n## Prerequisites\n\nMake sure you have the following software installed on your machine:\n\n- Node.js: [Download Node.js](https://nodejs.org/en/download/)\n- Angular CLI: Install globally using npm with the command `npm install -g @angular/cli`\n\n## Getting Started\n\nFollow these steps to get the StackBug project up and running on your local machine:\n\n1. Clone the repository:\n\n```shell\ngit clone https://github.com/pochii-cloud/stackbug.git\ncd stackbug\n```\n\n2. Install the dependencies for the frontend and backend:\n\n```shell\ncd frontend\nnpm install\n\ncd ../backend\nnpm install\n```\n\n3. Set up the database:\n   - Create a new MSSQL database for StackBug.\n   - Rename the `.env.example` file in the `backend` directory to `.env` and update the database connection details.\n\n4. Run the migrations to set up the database schema:\n\n```shell\ncd backend\nnpx knex migrate:latest\n```\n\n5. Start the backend server:\n\n```shell\nnpm run dev\n```\n\n6. In a new terminal window, start the frontend development server:\n\n```shell\ncd ../frontend\nng serve\n```\n\n7. Open your browser and visit `http://localhost:4200` to access the StackBug application.\n\n## Project Structure\n\n- `frontend`: Contains the Angular frontend code.\n- `backend`: Contains the Node.js and Express backend code.\n- `backend/db`: Contains database migration files.\n- `backend/routes`: Contains API routes for user, question, and answer operations.\n- `backend/controllers`: Contains the logic for handling API requests and interacting with the database.\n- `backend/middleware`: Contains middleware functions for authentication and authorization.\n- `backend/models`: Contains the database models using Knex.js.\n\n## Contributing\n\nContributions to StackBug are welcome! If you find a bug or have an idea for an enhancement, please open an issue or submit a pull request. Make sure to follow the existing coding style and guidelines.\n\n## License\n\nStackBug is released under the [MIT License](LICENSE).\n\n## Acknowledgements\n\nStackBug is built upon the knowledge and inspiration gained from Stack Overflow, a popular Q\u0026A platform for developers. We express our gratitude to the Stack Overflow community for their valuable contributions.\n\nSpecial thanks to the following open-source projects that were used in the development of StackBug:\n\n- [Angular](https://angular.io/)\n- [Node.js](https://nodejs.org/)\n- [Express](https://expressjs.com/)\n- [MSSQL](https://www.microsoft.com/en-us/sql-server/sql-server-downloads)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmdotdev%2Fstackbug","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjmdotdev%2Fstackbug","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjmdotdev%2Fstackbug/lists"}