{"id":15793294,"url":"https://github.com/alexmcdermid/alexander-mcdermid-ecc-dssb-is24-code-challenge","last_synced_at":"2026-04-16T10:35:15.680Z","repository":{"id":199008881,"uuid":"701559331","full_name":"alexmcdermid/Alexander-McDermid-ecc-dssb-IS24-code-challenge","owner":"alexmcdermid","description":"IS-24 Full Stack Developer Position Code Challenge","archived":false,"fork":false,"pushed_at":"2026-01-02T00:47:13.000Z","size":672,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-07T13:47:08.739Z","etag":null,"topics":["bootstrap5","rails","react","ruby"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/alexmcdermid.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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-10-06T23:08:54.000Z","updated_at":"2026-01-02T00:47:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"6dab50de-8b52-4e95-b028-d89cb7ec499a","html_url":"https://github.com/alexmcdermid/Alexander-McDermid-ecc-dssb-IS24-code-challenge","commit_stats":null,"previous_names":["alexmcdermid/alexander-mcdermid-ecc-dssb-is24-code-challenge"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/alexmcdermid/Alexander-McDermid-ecc-dssb-IS24-code-challenge","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexmcdermid%2FAlexander-McDermid-ecc-dssb-IS24-code-challenge","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexmcdermid%2FAlexander-McDermid-ecc-dssb-IS24-code-challenge/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexmcdermid%2FAlexander-McDermid-ecc-dssb-IS24-code-challenge/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexmcdermid%2FAlexander-McDermid-ecc-dssb-IS24-code-challenge/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alexmcdermid","download_url":"https://codeload.github.com/alexmcdermid/Alexander-McDermid-ecc-dssb-IS24-code-challenge/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alexmcdermid%2FAlexander-McDermid-ecc-dssb-IS24-code-challenge/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31882615,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T09:23:21.276Z","status":"ssl_error","status_checked_at":"2026-04-16T09:23:15.028Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bootstrap5","rails","react","ruby"],"created_at":"2024-10-04T23:10:29.485Z","updated_at":"2026-04-16T10:35:15.649Z","avatar_url":"https://github.com/alexmcdermid.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# IS-24 Full Stack Developer Position - Code Challenge\n\nThis repository contains a web application that tracks and manages mock Web Applications developed by the Province of BC.\n\n## Table of Contents\n\n- [Features](#features)\n- [Technologies](#technologies)\n- [Prerequisites](#prerequisites)\n- [Getting Started](#getting-started)\n\n## Features\n\n### API Component\n- **Health Endpoint**: Includes a health endpoint at `http://localhost:3000/api/health` that returns an HTTP 200 response, indicating the API component is healthy.\n- **CRUD Operations**: Supports all basic CRUD operations (`GET`, `POST`, `PUT`, `DELETE`) with appropriate HTTP status codes. For example, retrieving a specific product using `GET http://localhost:3000/api/product/:productId`.\n- **Sample Data**: The API is pre-populated with up to 40 sample products.\n### Frontend Features (User Stories)\n- **View All Products**: Any user can view a list of all products within ECC along with relevant details such as Product Number, Product Name, Scrum Master, Product Owner, Developer Names, Start Date, Methodology, and Location (GitHub repository link).\n- **Switch Between Personas**: Switch between two distinct personas, Lisa and Alan. Different features are available to each user.\n- **Add New Product**: Lisa can add a new product to the list. They must fill in all necessary information including Product Name, Scrum Master, Product Owner, Developer Names, Start Date, and Methodology.\n- **Edit Existing Product**: Alan can edit existing product details. Fields available for editing include Product Name, Scrum Master, Product Owner, Developer Names, Methodology, and Location (GitHub repository link).\n\n### Bonus Features\n- **Search by Scrum Master**: Lisa can search for products by the name of the Scrum Master. The list will update to only show products where the searched Scrum Master is involved.\n- **Search by Developer**: Alan can search for products by the name of a Developer. The list will update to only show products where the searched Developer is involved.\n- **Toggle Product ID Order**: A toggle on the Product ID table header to order by Ascending or Descending.\n- **Swagger Documentation**: All API endpoints are documented using Swagger and can be accessed locally at `http://localhost:3000/api/api-docs`.\n\n### Additional Information\n- **Automatic Product Number Generation**: When adding a new product, the Product Number is automatically generated and will not collide with existing Product Numbers.\n- **Data Persistence**: Any added or edited data persists even after a page refresh.\n\n## Technologies\n\n- Backend: Rails (Ruby)\n- Frontend: React (Leveraging react-bootstrap)\n\n## Prerequisites\n\n- Docker\n- Ruby, Rails, npm (optional, if you are running outside Docker)\n\n## Getting Started\n\n### Using Docker Compose\n\nTo run the solution using Docker Compose, you'll find a `docker-compose.yml` file at the top-level directory of this repository. You need to:\n\n1. Clone this repository.\n\n    ```bash\n    git clone https://github.com/alexmcdermid/Alexander-McDermid-ecc-dssb-IS24-code-challenge.git\n    ```\n\n2. Navigate into the cloned repository.\n\n    ```bash\n    cd Alexander-McDermid-ecc-dssb-IS24-code-challenge\n    ```\n\n3. Run Docker Compose. This will start up all the necessary services as defined in the `docker-compose.yml` file.\n\n    ```bash\n    docker-compose up\n    ```\n\n4. Navigate to `http://localhost:3001/` in your browser of choice.\n\n    ```bash\n    http://localhost:3001/\n    ```\n\n### Without Docker (Optional)\n\n#### For Backend (Rails)\n\nIf you want to run the Rails backend without Docker, you'll need Ruby and Rails installed on your machine. Follow these steps:\n\n1. Navigate to the backend directory.\n\n    ```bash\n    cd rails_api\n    ```\n\n2. Install dependencies.\n\n    ```bash\n    bundle install\n    ```\n\n3. Start the Rails server.\n\n    ```bash\n    rails s\n    ```\n\n#### For Frontend\n\nIf you're running the frontend without Docker, you will need npm. Run the following commands:\n\n```bash\ncd react_frontend\nnpm install\nnpm start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexmcdermid%2Falexander-mcdermid-ecc-dssb-is24-code-challenge","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexmcdermid%2Falexander-mcdermid-ecc-dssb-is24-code-challenge","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexmcdermid%2Falexander-mcdermid-ecc-dssb-is24-code-challenge/lists"}