{"id":25832773,"url":"https://github.com/ompreetham/advice-generator-app","last_synced_at":"2026-04-13T03:02:06.804Z","repository":{"id":233112654,"uuid":"786067828","full_name":"OmPreetham/advice-generator-app","owner":"OmPreetham","description":"Advice Generator App built using React and SCSS, following the BEM (Block Element Modifier) naming convention. It is created as a solution to the Frontend Mentor challenge.","archived":false,"fork":false,"pushed_at":"2024-04-17T02:38:06.000Z","size":48,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-04-17T08:04:58.814Z","etag":null,"topics":["advicegenerator","adviceslip-api","bem","css","front-end","front-end-development","frontend","frontend-mentor","frontendmentor-challenge","generator","html","javascript","js","json","react","render","scss","vite","website"],"latest_commit_sha":null,"homepage":"https://ompreetham.github.io/advice-generator-app/","language":"SCSS","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/OmPreetham.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-04-13T10:24:53.000Z","updated_at":"2024-04-17T02:36:00.000Z","dependencies_parsed_at":"2024-04-17T03:41:10.721Z","dependency_job_id":"d3649e0e-9560-4020-bed2-42ecab399892","html_url":"https://github.com/OmPreetham/advice-generator-app","commit_stats":null,"previous_names":["ompreetham/advice-generator-app"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmPreetham%2Fadvice-generator-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmPreetham%2Fadvice-generator-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmPreetham%2Fadvice-generator-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OmPreetham%2Fadvice-generator-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OmPreetham","download_url":"https://codeload.github.com/OmPreetham/advice-generator-app/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241246593,"owners_count":19933405,"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":["advicegenerator","adviceslip-api","bem","css","front-end","front-end-development","frontend","frontend-mentor","frontendmentor-challenge","generator","html","javascript","js","json","react","render","scss","vite","website"],"created_at":"2025-02-28T21:48:48.102Z","updated_at":"2026-04-13T03:02:01.761Z","avatar_url":"https://github.com/OmPreetham.png","language":"SCSS","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Advice Generator App\n\nThis project is a simple advice generator app built using React and SCSS, following the BEM (Block Element Modifier) naming convention. It is created as a solution to the [Frontend Mentor](https://www.frontendmentor.io/) challenge.\n\n## Features\n\n- Generates random advice fetched from the Advice Slip JSON API.\n- Responsive design for mobile, tablet, and desktop.\n- SCSS for styling, organized with BEM naming convention.\n- Built with Vite for fast development and bundling.\n\n## Technologies Used\n\n- React\n- SCSS (Sass)\n- Vite (Frontend build tool)\n- HTML\n- JavaScript\n\n### Previews\n\nDesktop\n\n![Desktop Preview](/public/preview-desktop.png)\n\nMobile\n\n![Mobile Preview](/public/preview-mobile.png)\n\n## Getting Started\n\nFollow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.\n\n### Prerequisites\n\nMake sure you have Node.js and npm (or yarn) installed on your machine.\n\n### Installation\n\n1. Clone this repository to your local machine using the following command:\n\n   ```\n   git clone https://github.com/OmPreetham/advice-generator-app.git\n   ```\n\n1. Navigate into the project directory:\n\n   ```\n   cd advice-generator-app\n   ```\n\n1. Install dependencies using npm:\n\n   ```\n   npm install\n   ```\n\n## Usage\n\nTo run the project, use the following command:\n\n```\nnpm run dev\n```\n\nThis will start a development server and open the project in your default web browser. Any changes you make to the source code will be hot-reloaded, meaning you can see the updates in real-time.\n\n## Build\n\nTo build the project for production, use the following command:\n\n```\nnpm run build\n```\n\nThis will start a development server and open the project in your default web browser. Any changes you make to the source code will be hot-reloaded, meaning you can see the updates in real-time.\n\n## Build\n\nTo build the project for production, use the following command:\n\nThis will create an optimized build of the project in the `dist` directory.\n\n## Additional Information\n\n- This project was scaffolded using Vite, a blazing fast frontend build tool.\n- It uses React for building the user interface.\n- Feel free to customize the project according to your needs.\n\n## License\n\nThis project is licensed under the [MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fompreetham%2Fadvice-generator-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fompreetham%2Fadvice-generator-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fompreetham%2Fadvice-generator-app/lists"}