{"id":26403217,"url":"https://github.com/chris-1101/magic-8ball","last_synced_at":"2026-04-02T03:09:08.358Z","repository":{"id":42355517,"uuid":"175251770","full_name":"Chris-1101/magic-8ball","owner":"Chris-1101","description":":8ball: Web-app implementation of the magic 8-ball","archived":false,"fork":false,"pushed_at":"2023-01-03T17:46:18.000Z","size":632,"stargazers_count":0,"open_issues_count":12,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-06-02T05:15:34.128Z","etag":null,"topics":["expressjs","javascript","nodejs","reactjs","rest-api","sequelizejs","sqlite"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Chris-1101.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-12T16:16:01.000Z","updated_at":"2019-03-19T18:44:12.000Z","dependencies_parsed_at":"2023-02-01T08:31:05.173Z","dependency_job_id":null,"html_url":"https://github.com/Chris-1101/magic-8ball","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Chris-1101/magic-8ball","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chris-1101%2Fmagic-8ball","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chris-1101%2Fmagic-8ball/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chris-1101%2Fmagic-8ball/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chris-1101%2Fmagic-8ball/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Chris-1101","download_url":"https://codeload.github.com/Chris-1101/magic-8ball/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Chris-1101%2Fmagic-8ball/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31294879,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T01:43:37.129Z","status":"online","status_checked_at":"2026-04-02T02:00:08.535Z","response_time":89,"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":["expressjs","javascript","nodejs","reactjs","rest-api","sequelizejs","sqlite"],"created_at":"2025-03-17T15:30:11.254Z","updated_at":"2026-04-02T03:09:08.336Z","avatar_url":"https://github.com/Chris-1101.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Magic 8-Ball [![License](https://img.shields.io/github/license/Chris-1101/boxecho.svg)](https://github.com/Chris-1101/boxecho/blob/master/LICENSE.md)\n![Magic 8-Ball](https://user-images.githubusercontent.com/28808441/54500297-a30d1900-491b-11e9-84e5-2b82606b9ccb.png)\n\n### Run the Server Locally\n```\ngit clone https://github.com/Chris-1101/magic-8ball.git \u0026\u0026 \\\ncd magic-8ball \u0026\u0026 \\\nnpm install \u0026\u0026 \\\nnpm start\n```\nYou should be able to access the server at [http://localhost:3000](http://localhost:3000)\n\n### Project Overview\n|      Role | Framework    |\n| --------: | ------------ |\n|  Back-End | Node.js      |\n| Front-End | React.js     |\n|  REST API | Express.js   |\n|       ORM | Sequelise.js |\n|        DB | SQLite       |\n\n### Directory Structure\n```\napp\n├─ db/\n│  └─ config.js        (database config, migration and seeds)\n├─ models/             (sequelise models)\n│  ├─ answerType.js\n│  ├─ answer.js\n│  └─ question.js\n├─ public/             (static resources)\n│  ├─ images/\n│  │  └─ ...\n│  ├─ javascripts/\n│  │  └─ ajax.js       (AJAX script to send requests without refreshing page)\n│  └─ stylesheets/\n│     └─ style.less    (main stylesheet)\n├─ routes/\n│  ├─ index.js         (router/controller for requests to /)\n│  └─ stats.js         (router/controller for requests to /stats)\n└─ views/\n   └─ ...              (react view templates)\napp.js                 (entry point/server)\n```\n\n### Database Schema\n![DB Schema](https://user-images.githubusercontent.com/28808441/54500298-a30d1900-491b-11e9-9bd6-7d7e09d0464b.png)\n\n### Potential Imporvements\n* Divide `style.less` into component modules\n* Improve 8-ball reply animations\n* Cleaner `Sequelise` setup\n* Statistics Page Style\n* `Delete` CRUD Route\n* Open Graph Headers\n* Responsive Design\n* Write Tests + CI\n\n### Plotly API Limits :warning:\n\nThe service used for the statistics charts has a limit on API calls for free accounts like mine. Just a heads up in case the statistics page stop updating!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchris-1101%2Fmagic-8ball","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchris-1101%2Fmagic-8ball","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchris-1101%2Fmagic-8ball/lists"}