{"id":21823159,"url":"https://github.com/leadstar116/react-promo-code-app","last_synced_at":"2026-04-05T21:35:44.747Z","repository":{"id":53608218,"uuid":"349725982","full_name":"leadstar116/react-promo-code-app","owner":"leadstar116","description":"Simple React SPA application for managing promo codes","archived":false,"fork":false,"pushed_at":"2021-03-21T13:15:21.000Z","size":382,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-26T07:43:52.135Z","etag":null,"topics":["babel","react","redux","webpack"],"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/leadstar116.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}},"created_at":"2021-03-20T13:00:46.000Z","updated_at":"2021-03-22T09:55:03.000Z","dependencies_parsed_at":"2022-09-19T06:01:36.433Z","dependency_job_id":null,"html_url":"https://github.com/leadstar116/react-promo-code-app","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leadstar116%2Freact-promo-code-app","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leadstar116%2Freact-promo-code-app/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leadstar116%2Freact-promo-code-app/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/leadstar116%2Freact-promo-code-app/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/leadstar116","download_url":"https://codeload.github.com/leadstar116/react-promo-code-app/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244788964,"owners_count":20510467,"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":["babel","react","redux","webpack"],"created_at":"2024-11-27T17:20:07.392Z","updated_at":"2025-12-31T00:00:03.790Z","avatar_url":"https://github.com/leadstar116.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# React Promo Code App\nThis is a simple promo code app, where you can search for service and reveal promo codes. The app would display a list of promo codes.\nPull promo codes from the API (https://github.com/leadstar116/nestjs-promo-code-app). \u003cbr/\u003e\nAs default, it is showing 10 promo codes.\n\n## Used Stacks:\n- React\n- Redux\n- Redux Thunk\n- Webpack\n- Unit Testing\n\n## Main Functionalities of App\n\n### Home page (browse with search)\n- The page would be located on the root url ​`/` \n- Show each promo code data\n- Ability to filter service by name.\n- Ability to reset filter.\n- Ability to copy promo code to the clipboard.\n- Ability to change service status to “Activated” by clicking on the “Activate bonus” button.\n\n\n## Screenshots\nYou can check video here: https://www.screencast.com/t/E1Lm0Ml9\n[![Watch the video](https://content.screencast.com/users/SupremeDev/folders/Capture/media/7b2ef000-64c6-4c39-8f66-ffedfcd43d02/screenshot.png)](https://www.screencast.com/t/E1Lm0Ml9)\n\n# Project Run\nThis project is running with webpack, babel and yarn.\n\n## API\nYou would need to download promo-code-app API and run it first (https://github.com/leadstar116/nestjs-promo-code-app).\u003cbr /\u003e\nOr I hosted this API on the heroku so maybe you can just use it. (https://nestjs-promo-code-app.herokuapp.com/api) \u003cbr /\u003e\n\nYou can check more details about the API in it's repository.\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `yarn install`\nTo install dependencies, please download the repository and run the command `yarn install`\nI used\n- yarn: v1.22.10\n- node: v12.14.1\n\n### `yarn dev`\n\nRuns the app in the development mode.\u003cbr /\u003e\nOpen [http://localhost:8080](http://localhost:8080) to view it in the browser.\n\nThe page will reload if you make edits.\u003cbr /\u003e\nYou will also see any lint errors in the console.\n\n### `yarn test`\n\nLaunches the test runner in the interactive watch mode.\u003cbr /\u003e\nSee the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.\n\n### `yarn build`\n\nBuilds the app for production to the `build` folder.\u003cbr /\u003e\nIt correctly bundles React in production mode and optimizes the build for the best performance.\n\nThe build is minified and the filenames include the hashes.\u003cbr /\u003e\nYour app is ready to be deployed!\n\nSee the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.\n\n### `yarn eject`\n\n**Note: this is a one-way operation. Once you `eject`, you can’t go back!**\n\nIf you aren’t satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.\n\nInstead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.\n\nYou don’t have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.\n\n## Learn More\n\nYou can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).\n\nTo learn React, check out the [React documentation](https://reactjs.org/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleadstar116%2Freact-promo-code-app","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fleadstar116%2Freact-promo-code-app","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fleadstar116%2Freact-promo-code-app/lists"}