{"id":19030589,"url":"https://github.com/alexbsoft/ficha-hackathon","last_synced_at":"2026-05-02T18:30:16.656Z","repository":{"id":190430476,"uuid":"682609112","full_name":"AlexBSoft/ficha-hackathon","owner":"AlexBSoft","description":null,"archived":false,"fork":false,"pushed_at":"2023-08-26T09:02:10.000Z","size":510,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-02T03:45:15.718Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://ficha-hackathon.vercel.app","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/AlexBSoft.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":"2023-08-24T14:35:57.000Z","updated_at":"2023-08-24T18:11:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"73a4695e-5d90-45c9-afdb-35cbd9f14805","html_url":"https://github.com/AlexBSoft/ficha-hackathon","commit_stats":null,"previous_names":["alexbsoft/ficha-hackathon"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexBSoft%2Fficha-hackathon","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexBSoft%2Fficha-hackathon/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexBSoft%2Fficha-hackathon/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlexBSoft%2Fficha-hackathon/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlexBSoft","download_url":"https://codeload.github.com/AlexBSoft/ficha-hackathon/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240079639,"owners_count":19744725,"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-08T21:18:40.994Z","updated_at":"2026-05-02T18:30:16.628Z","avatar_url":"https://github.com/AlexBSoft.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":" # PayDog\n\n### Стек:\n\n- NextJS 13 (серверные компоненты имба)\n- Tailwindcss\n- Supabase (Serverless бэкенд Postgresql)\n\n## Разворачивание\n\nСоздать проект в Supabase\n\nВ .env запихать токены\n\n```\nNEXT_PUBLIC_SUPABASE_URL=https://viazgenvxhxifrngevpp.supabase.co\nNEXT_PUBLIC_SUPABASE_ANON_KEY=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJzdXBhYmFzZSIsInJlZiI6InZpYXpnZW52eGh4aWZybmdldnBwIiwicm9sZSI6ImFub24iLCJpYXQiOjE2OTI4NzcwNDIsImV4cCI6MjAwODQ1MzA0Mn0.zuZ24NJTXhzjkRrSL0_YHo6DE-wEL9z2KJXMNusuyi4\n```\n\nЗапустить npm run dev\n\n## Как работает\n\nВсе страницы в директории /app/\n\nСтраницы рендерятся на сервере, идет обращение к Supabase для получения данных из базы\n\n## Юзкейсы\n\n1. Юзер регается\n\n2. Выбирает банк, создает кошелек (например российский банк и кошелек с цифровым рублем)\n\n3. Пополняет кошелек своей имеющейся картой (mockup добавление денег) - карта здесь внешняя\n\n4. Выбирает зарубежный банк и создает там карту. Пополняет эту карту со своего кошелька. Происходит конвертация\n\n5. ???\n\n6. Profit (юзер имеет баланс на карте, платит ей в сервисах где хочет)\n\n### Подлкючение банка\n\nБанк добавляет админ в админке: /admin\n\nДля банков можно брендировать карту (указать логотип и сделать свой градиент у карты)\n\n### Курсы валют\n\nКурсы валют захардкожены в /scripts/scripts.js. Мы их питоном вытянули с сайта ЦБ.\n\n\n# Supabase Starter\n\nThis starter configures Supabase Auth to use cookies, making the user's session available throughout the entire Next.js app - Client Components, Server Components, Route Handlers, Server Actions and Middleware.\n\n## Deploy your own\n\nThe Vercel deployment will guide you through creating a Supabase account and project. After installation of the Supabase integration, all relevant environment variables will be set up so that the project is usable immediately after deployment 🚀\n\n[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/vercel/next.js/tree/canary/examples/with-supabase\u0026project-name=nextjs-with-supabase\u0026repository-name=nextjs-with-supabase\u0026integration-ids=oac_jUduyjQgOyzev1fjrW83NYOv)\n\n## How to use\n\n1. Create a [new Supabase project](https://database.new)\n1. Run `npx create-next-app -e with-supabase` to create a Next.js app using the Supabase Starter template\n1. Use `cd` to change into the app's directory\n1. Run `npm install` to install dependencies\n1. Rename `.env.local.example` to `.env.local` and update the values for `NEXT_PUBLIC_SUPABASE_URL` and `NEXT_PUBLIC_SUPABASE_ANON_KEY` from [your Supabase project's API settings](https://app.supabase.com/project/_/settings/api)\n1. Run `npm run dev` to start the local development server\n\n\u003e Check out [the docs for Local Development](https://supabase.com/docs/guides/getting-started/local-development) to also run Supabase locally.\n\n### Create a Supabase client\n\nCheck out the [`/app/_examples`](./app/_examples/) folder for an example of creating a Supabase client in:\n\n- [Client Components](./app/_examples/client-component/page.tsx)\n- [Server Components](./app/_examples/server-component/page.tsx)\n- [Route Handlers](./app/_examples/route-handler/route.ts)\n- [Server Actions](./app/_examples/server-action/page.tsx)\n\n### Create `todo` table and seed with data (optional)\n\nNavigate to [your project's SQL Editor](https://app.supabase.com/project/_/sql), click `New query`, paste the contents of the [init.sql](./supabase/migrations/20230618024722_init.sql) file and click `RUN`.\n\nThis will create a basic `todos` table, enable Row Level Security (RLS), and write RLS policies enabling `select` and `insert` actions for `authenticated` users.\n\nTo seed your `todos` table with some dummy data, run the contents of the [seed.sql](./supabase/seed.sql) file.\n\n## Feedback and issues\n\nPlease file feedback and issues over on the [Supabase GitHub org](https://github.com/supabase/supabase/issues/new/choose).\n\n## More Supabase examples\n\n- [Next.js Subscription Payments Starter](https://github.com/vercel/nextjs-subscription-payments)\n- [Cookie-based Auth and the Next.js 13 App Router (free course)](https://youtube.com/playlist?list=PL5S4mPUpp4OtMhpnp93EFSo42iQ40XjbF)\n- [Supabase Auth and the Next.js App Router](https://github.com/supabase/supabase/tree/master/examples/auth/nextjs)\n- [Next.js Auth Helpers Docs](https://supabase.com/docs/guides/auth/auth-helpers/nextjs)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexbsoft%2Fficha-hackathon","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falexbsoft%2Fficha-hackathon","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falexbsoft%2Fficha-hackathon/lists"}