{"id":22371754,"url":"https://github.com/akunna1/banking-app-structure","last_synced_at":"2026-04-14T06:33:18.899Z","repository":{"id":250769794,"uuid":"835380214","full_name":"akunna1/Banking-app-structure","owner":"akunna1","description":"Structure for The Kenya Bankers Vite-React Frontend App  (In progress)","archived":false,"fork":false,"pushed_at":"2025-07-16T21:52:32.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-10T21:16:31.685Z","etag":null,"topics":["bankingapplication","frontend","reactjs","tailwind-css","vitejs","webdev"],"latest_commit_sha":null,"homepage":"","language":null,"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/akunna1.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":"2024-07-29T18:01:35.000Z","updated_at":"2025-07-16T21:52:36.000Z","dependencies_parsed_at":"2024-07-30T02:27:18.306Z","dependency_job_id":null,"html_url":"https://github.com/akunna1/Banking-app-structure","commit_stats":null,"previous_names":["akunna1/banking-app-structure"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/akunna1/Banking-app-structure","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akunna1%2FBanking-app-structure","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akunna1%2FBanking-app-structure/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akunna1%2FBanking-app-structure/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akunna1%2FBanking-app-structure/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akunna1","download_url":"https://codeload.github.com/akunna1/Banking-app-structure/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akunna1%2FBanking-app-structure/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31785677,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-14T02:24:21.117Z","status":"ssl_error","status_checked_at":"2026-04-14T02:24:20.627Z","response_time":153,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["bankingapplication","frontend","reactjs","tailwind-css","vitejs","webdev"],"created_at":"2024-12-04T20:29:20.571Z","updated_at":"2026-04-14T06:33:18.880Z","avatar_url":"https://github.com/akunna1.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Banking-app-structure 🏦\n\nStructure for The Kenya Bankers Vite-React Frontend App\n\n---\n\n## How to start Vite-React Project\n\n* `npm create vite app --template react`\n* `cd app`\n* `npm install`\n* `npm run dev`\n* In `src` folder, create `pages`, `styles`, and `components` folders\n* Add images to the `public` folder\n* Kill terminal and restart if needed\n* Install Tailwind CSS ([guide](https://tailwindcss.com/docs/guides/vite))\n* Remove unwanted code, files, and folders\n* `npm install react-icons`\n* `npm install react-router-dom`\n\n---\n\n## How to deploy it on Hostinger\n\n* Run `npm run build`\n* A `dist` folder is created\n* Copy the contents of `dist` into `public_html` on Hostinger\n* Add `.htaccess` file in `public_html` for routing and configuration\n\n---\n\n## Structure Definitions\n\n* **Public folder:**\n  Stores static assets like images that don’t need processing by Vite. Files here are directly accessible and can be used in `.jsx` files without importing as components.\n  Example:\n\n  ```jsx\n  \u003cimg src=\"/ats_website/raleigh.jpg\" alt=\"Me\" className=\"object-cover w-full h-full\" /\u003e\n  ```\n\n* **Src folder:**\n  Contains all the source code — JavaScript/JSX, CSS, and other files that Vite processes and bundles.\n\n* **index.html:**\n  The project’s entry point where you can add favicon and set the website title. Connects to `main.jsx`.\n\n* **tailwind.config.js:**\n  Configure Tailwind CSS settings, including custom screen sizes under the `theme` property.\n\n* **src/components:**\n  Contains `.jsx` files for reusable UI components such as buttons, text blocks, etc. These components are imported into pages.\n\n* **src/pages:**\n  Contains `.jsx` files representing different pages of the app where components are imported and assembled.\n\n* **src/styles:**\n  Holds custom CSS files like `global.css`, imported into `main.jsx`.\n\n* **src/App.jsx:**\n  Imports pages and defines routes. Also contains utilities like a “scroll to top” component.\n\n* **src/index.css:**\n  Contains Tailwind’s base styles, components, and utilities.\n\n* **src/main.jsx:**\n  Imports global styles (`index.css` and `global.css`), `App.jsx`, sets up `BrowserRouter` for routing, and renders the app into the root element defined in `index.html`.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakunna1%2Fbanking-app-structure","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakunna1%2Fbanking-app-structure","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakunna1%2Fbanking-app-structure/lists"}