{"id":18594694,"url":"https://github.com/ernitingarg/cryptocurrency-frontend-ui","last_synced_at":"2026-07-13T01:32:13.603Z","repository":{"id":165084360,"uuid":"495070588","full_name":"ernitingarg/cryptocurrency-frontend-ui","owner":"ernitingarg","description":null,"archived":false,"fork":false,"pushed_at":"2022-05-22T13:41:12.000Z","size":232,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-25T13:29:01.260Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/ernitingarg.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}},"created_at":"2022-05-22T13:38:58.000Z","updated_at":"2023-10-21T12:28:19.000Z","dependencies_parsed_at":null,"dependency_job_id":"b4511de7-2a79-46fa-b09a-247f34fd877e","html_url":"https://github.com/ernitingarg/cryptocurrency-frontend-ui","commit_stats":null,"previous_names":["ernitingarg/cryptocurrency-frontend-ui"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ernitingarg/cryptocurrency-frontend-ui","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ernitingarg%2Fcryptocurrency-frontend-ui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ernitingarg%2Fcryptocurrency-frontend-ui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ernitingarg%2Fcryptocurrency-frontend-ui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ernitingarg%2Fcryptocurrency-frontend-ui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ernitingarg","download_url":"https://codeload.github.com/ernitingarg/cryptocurrency-frontend-ui/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ernitingarg%2Fcryptocurrency-frontend-ui/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35407393,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-12T02:00:06.386Z","response_time":87,"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":[],"created_at":"2024-11-07T01:16:41.553Z","updated_at":"2026-07-13T01:32:13.583Z","avatar_url":"https://github.com/ernitingarg.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Exchange Frontend\n\n- [Develop Application](https://soteria-team.vercel.app/login)\n  - Test Account (staging/local)\n    - email: test@soteria.com\n    - password: testtest\n\n## How to run locally?\n\nAs there are many ways to run it locally but the most working way \u0026 steps are as below:\n\n```bash\n  - yarn install\n  - npm i -g vercel\n  - yarn run dev:vercel\n```\n\nNote: For the first time setup, you would be prompted with few setup steps as below:\n\n- Set up and develop “..\\soteria\\exchange-frontend? [Y/n] =\u003e `Y`\n- Which scope should contain your project? scope =\u003e `let it be default or choose accoordingly`\n- Link to existing project? [y/N] =\u003e `N`\n- What’s your project’s name? exchange-frontend\n- In which directory is your code located? ./\n- Want to override the settings? [y/N] =\u003e `N`\n\n## Other ways to run locally\n\n_Note: Some of them might not be working._\n\nFirst, run the development server:\n\n```bash\nnpm install\nnpm run dev\n# or\nyarn install\nyarn dev\n```\n\nIf you want to run on docker\n\n```bash\ndocker-compose run --rm app yarn install\ndocker-compose up -d\n```\n\nOpen [http://localhost:3000](http://localhost:3000) with your browser to see the result.\n\nYou can start editing the page by modifying `pages/index.js`. The page auto-updates as you edit the file.\n\n## Learn More\n\nTo learn more about Next.js, take a look at the following resources:\n\n- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API.\n- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial.\n\nYou can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome!\n\n## Change the APY\n\nCurrently, the front-end and back-end each use a magic number to set the APY.\nIf we need to change the APY more often in the future, we need to consider using Firestore.\n\n### Change the APY of the frontend\n\n```bash\nvim \u003cfrontend-dir\u003e/src/components/organism/Exchange/AccountOverview.tsx\n# change the interestRatePerDay or apy\n```\n\n### Change the APY of the backend\n\n```bash\nvim \u003csoteria-backend-cloudfunctions-dir\u003e/index.js\n# change the APY_PER_DAY\n```\n\n## Deploy on Vercel\n\nThe easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/import?utm_medium=default-template\u0026filter=next.js\u0026utm_source=create-next-app\u0026utm_campaign=create-next-app-readme) from the creators of Next.js.\n\nCheck out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.\n\nIf you want to deploy using docker\n\n```bash\ndocker-compose up -d\ndocker-compose exec app sh\n# Deploy to development (Deployed to a random URL)\n# Vercel asks for login by email\n# If requested, hit the same command again.\nyarn deploy:dev\n# Deploy to production (Deployed to a random URL)\nrm -rf .vercel\nyarn deploy:prod\n# Deploy to production (Deployed to a fixed URL)\nyarn deploy:prod --prod\n```\n\n## Automatic deploy on staging\n\nAnother way to automatically deploy this service into vercel is to merge a PR into staging branch.\n\n- Create a PR for your local branch `my_branch`\n- Merge this PR to `master` (now `master` has the lastest code)\n- From github, create a new PR and select `staging` for \"base\" and `master` for \"compare\".\n- Merge this PR to `staging` (now `staging` has the same code as master)\n- staging deployment will start automatically in versel once PR is merged.\n\n_Note: Before merging to `master` branch, make sure prodction build also has no react specific issues by running `yarn run build` (error related to `invalid firebase project` can be ignored)_\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fernitingarg%2Fcryptocurrency-frontend-ui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fernitingarg%2Fcryptocurrency-frontend-ui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fernitingarg%2Fcryptocurrency-frontend-ui/lists"}