{"id":21426322,"url":"https://github.com/phalbert/crown-fashion","last_synced_at":"2025-03-16T21:15:00.756Z","repository":{"id":41757906,"uuid":"221817796","full_name":"phalbert/crown-fashion","owner":"phalbert","description":"Second project to learn react...a full ecommerce app ","archived":false,"fork":false,"pushed_at":"2024-05-30T10:27:16.000Z","size":1158,"stargazers_count":1,"open_issues_count":31,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-23T07:29:53.291Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://crownfashion.herokuapp.com/","language":"JavaScript","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/phalbert.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":"2019-11-15T01:21:35.000Z","updated_at":"2024-05-30T10:27:20.000Z","dependencies_parsed_at":"2024-04-23T01:29:39.250Z","dependency_job_id":"9583b6a5-8509-41d6-9db3-a5c9660e5278","html_url":"https://github.com/phalbert/crown-fashion","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/phalbert%2Fcrown-fashion","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phalbert%2Fcrown-fashion/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phalbert%2Fcrown-fashion/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/phalbert%2Fcrown-fashion/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/phalbert","download_url":"https://codeload.github.com/phalbert/crown-fashion/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243933454,"owners_count":20370988,"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":[],"created_at":"2024-11-22T21:41:28.375Z","updated_at":"2025-03-16T21:15:00.733Z","avatar_url":"https://github.com/phalbert.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"A full ecommerce app to learn react\n\n[Nuggets](nuggets.md)\n\n## Adding environment variables\n\nThe `.env.sample` contains all the variables you need for this project to run\n\nMake `.env` in the root directory and update like this \u0026 `REACT_APP_` is the compulsory prefix for the variable name.\n```sh\nREACT_APP_NODE_ENV=\"production\"\nREACT_APP_DB=\"http://localhost:5000\"\n```\n\n## Firebase\n Sign up for firebase and add your credentials in the `.env` filea above. These credentials are found in Project Settings under the General tab\n\n## Available Scripts when using docker\n\nMake sure you have docker installed\n\n### `yarn docker`\n\nBuilds the docker image and runs a container from it\n\n### `yarn clean`\n\nStops and removes the container\n\n### `yarn docker:prod`\n\nBuilds a production ready image\n\n## Deploy to heroku\n\n### Install heroku and login\n\n- Follow this [installation guide](https://devcenter.heroku.com/articles/heroku-cli)\n\n- `heroku login`\n\n### Build image and deploy\n\n`yarn deploy`\n\nThe above is a script that builds the image and deploys to heroku\n\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `yarn start`\n\nRuns the app in the development mode.\u003cbr /\u003e\nOpen [http://localhost:3000](http://localhost:3000) 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 deploy`\n\nDeploys the app on github pages. Change the `homepage` of the `package.json` to your repository url\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\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphalbert%2Fcrown-fashion","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphalbert%2Fcrown-fashion","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphalbert%2Fcrown-fashion/lists"}