{"id":20411073,"url":"https://github.com/raihan2bd/go-credit-transact","last_synced_at":"2025-04-12T16:06:54.577Z","repository":{"id":143290759,"uuid":"612034350","full_name":"raihan2bd/go-credit-transact","owner":"raihan2bd","description":"Credit card transaction is a basic full stack web application that using this app user can buy widgets and monthly subscription using their credit card.","archived":false,"fork":false,"pushed_at":"2023-03-25T12:03:26.000Z","size":44833,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"dev","last_synced_at":"2024-06-21T15:44:28.092Z","etag":null,"topics":["bootstrap","css","go","golang","html","javascript","mariadb","websocket"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/raihan2bd.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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-03-10T03:46:02.000Z","updated_at":"2023-06-21T16:21:57.000Z","dependencies_parsed_at":null,"dependency_job_id":"ed312d84-d8ae-4c1f-9d01-a2ad72016187","html_url":"https://github.com/raihan2bd/go-credit-transact","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/raihan2bd%2Fgo-credit-transact","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raihan2bd%2Fgo-credit-transact/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raihan2bd%2Fgo-credit-transact/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/raihan2bd%2Fgo-credit-transact/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/raihan2bd","download_url":"https://codeload.github.com/raihan2bd/go-credit-transact/tar.gz/refs/heads/dev","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224737130,"owners_count":17361345,"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":["bootstrap","css","go","golang","html","javascript","mariadb","websocket"],"created_at":"2024-11-15T05:49:28.166Z","updated_at":"2024-11-15T05:49:28.903Z","avatar_url":"https://github.com/raihan2bd.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Credit card transaction - using Go (golang)\n\u003cp\u003eCredit card transaction is a basic full stack web application that using this app user can buy widgets and monthly subscription using their credit card.\u003c/p\u003e\n\n### Tech Stack \u003ca name=\"tech-stack\"\u003e\u003c/a\u003e\n\nI used Go (golang), MariaDB, Bootstrap, Html, Javascript and css to build this project.\n  \u003csummary\u003eFull Stack\u003c/summary\u003e\n  \u003cul\u003e\n    \u003cli\u003eGo\u003c/li\u003e\n    \u003cli\u003eMariaDB\u003c/li\u003e\n    \u003cli\u003eBootstrap\u003c/li\u003e\n    \u003cli\u003eJAVASCRIPT\u003c/li\u003e\n    \u003cli\u003eHtml\u003c/li\u003e\n    \u003cli\u003eCSS\u003c/li\u003e\n  \u003c/ul\u003e\n\n \u003csummary\u003eMajor Dependencies\u003c/summary\u003e\n  \u003cul\u003e\n  \u003cli\u003e\u003ca href=\"https://github.com/stripe/stripe-go/v72\"\u003eWebSocket\u003c/a\u003e To accept credit card transaction\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/go-chi/chi\"\u003eChi router\u003c/a\u003e\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/alexedwards/scs/v2\"\u003eAlex edwards SCS \u003c/a\u003e Session Manager\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/go-sql-driver/mysql\"\u003eMySQL Driver\u003c/a\u003e Database Driver\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/xhit/go-simple-mail/v2\"\u003esimple mail\u003c/a\u003e To create a simple mail server\u003c/li\u003e\n    \u003cli\u003e\u003ca href=\"https://github.com/gorilla/websocket\"\u003eWebSocket\u003c/a\u003e To Connect this app with websocket\u003c/li\u003e\n    \n  \u003c/ul\u003e\n\n## Demo\n![Capture](https://user-images.githubusercontent.com/35267447/227715745-dbc6cc12-7042-4fdb-a893-fade76add798.PNG)\n\n\n\n## 💻 Getting Started\n- To get star with this package first of all you have to clone the project ⬇️\n``` bash\nhttps://github.com/raihan2bd/go-credit-transact.git\n```\n- Then Make sure you have install [Go (golang)](https://go.dev/dl/) version 1.8.0 or latest stable version.\n- Then make sure you have install [MariaDB](https://mariadb.org/) on your local mechine if you want to use this project as localy.\n- To install all the Go packages navigate the folder address on your terminal and enter the below command ⬇️\n``` bash\ngo mod tidy\n```\n- After downloading the packages you should rename example.database.yml file name to database.yml file and edit database credentials to your own database information and you have to create a `Makefile` inside the root as like example make file and provide your stripe key and secret as well.\n![Capture5](https://user-images.githubusercontent.com/35267447/223344475-c64994c5-8a73-44d7-a571-5d3247c8db74.PNG)\n- To setup database tables and columns by onClick install [soda cli database migration tool](https://gobuffalo.io/documentation/database/soda/) Then run below command ⬇️\n```sh\nsoda migrate\n```\n\n\n# Usages\n\u003e *Note: Before enter the below command make sure you are in the right directory.*\n\n- After finishing the avove instructions you can see the project in your local mechine by entering the below command ⬇️\n```bash\nmake start\n```\nor \n```sh\ngo run cmd/web/* cmd/api/* cmd/micro/invoice/*\n```\n\n- Then you can see this project live on your browser by this link http://localhost:8080 or your given the port nuber you set for the project.\n\n\n## 👥 Author\n\n👤 **Abu Raihan**\n\n- GitHub: [@githubhandle](https://github.com/raihan2bd)\n- Twitter: [@twitterhandle](https://twitter.com/raihan2bd)\n- LinkedIn: [LinkedIn](https://linkedin.com/in/raihan2bd)\n\n## 🙏 Acknowledgments \u003ca name=\"acknowledgements\"\u003e\u003c/a\u003e\n\nI would like to thatnks [Trevor Sawler](https://github.com/tsawler) Who help me a lot learn go with this project. \n\n## ⭐️ Show your support \u003ca name=\"support\"\u003e\u003c/a\u003e\n\n\u003e Thanks for visiting my repository. Give a ⭐️ if you like this project!\n\n## 📝 License \u003ca name=\"license\"\u003e\u003c/a\u003e\n\nThis project is [MIT](./LICENSE) licensed.\n\n## Contribution\n*Your suggestions will be more than appreciated. If you want to suggest anything for this project feel free to do that. :slightly_smiling_face:*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraihan2bd%2Fgo-credit-transact","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fraihan2bd%2Fgo-credit-transact","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fraihan2bd%2Fgo-credit-transact/lists"}