Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/raihan2bd/go-credit-transact
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.
https://github.com/raihan2bd/go-credit-transact
bootstrap css go golang html javascript mariadb websocket
Last synced: about 6 hours ago
JSON representation
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.
- Host: GitHub
- URL: https://github.com/raihan2bd/go-credit-transact
- Owner: raihan2bd
- License: mit
- Created: 2023-03-10T03:46:02.000Z (over 1 year ago)
- Default Branch: dev
- Last Pushed: 2023-03-25T12:03:26.000Z (over 1 year ago)
- Last Synced: 2024-06-21T15:44:28.092Z (5 months ago)
- Topics: bootstrap, css, go, golang, html, javascript, mariadb, websocket
- Language: Go
- Homepage:
- Size: 42.8 MB
- Stars: 5
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Credit card transaction - using Go (golang)
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.
I used Go (golang), MariaDB, Bootstrap, Html, Javascript and css to build this project.
Full Stack
- Go
- MariaDB
- Bootstrap
- JAVASCRIPT
- Html
- CSS
Major Dependencies
-
WebSocket To accept credit card transaction - Chi router
-
Alex edwards SCS Session Manager -
MySQL Driver Database Driver -
simple mail To create a simple mail server -
WebSocket To Connect this app with websocket
## Demo
![Capture](https://user-images.githubusercontent.com/35267447/227715745-dbc6cc12-7042-4fdb-a893-fade76add798.PNG)
## 💻 Getting Started
- To get star with this package first of all you have to clone the project ⬇️
``` bash
https://github.com/raihan2bd/go-credit-transact.git
```
- Then Make sure you have install [Go (golang)](https://go.dev/dl/) version 1.8.0 or latest stable version.
- Then make sure you have install [MariaDB](https://mariadb.org/) on your local mechine if you want to use this project as localy.
- To install all the Go packages navigate the folder address on your terminal and enter the below command ⬇️
``` bash
go mod tidy
```
- 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.
![Capture5](https://user-images.githubusercontent.com/35267447/223344475-c64994c5-8a73-44d7-a571-5d3247c8db74.PNG)
- To setup database tables and columns by onClick install [soda cli database migration tool](https://gobuffalo.io/documentation/database/soda/) Then run below command ⬇️
```sh
soda migrate
```
# Usages
> *Note: Before enter the below command make sure you are in the right directory.*
- After finishing the avove instructions you can see the project in your local mechine by entering the below command ⬇️
```bash
make start
```
or
```sh
go run cmd/web/* cmd/api/* cmd/micro/invoice/*
```
- 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.
## 👥 Author
👤 **Abu Raihan**
- GitHub: [@githubhandle](https://github.com/raihan2bd)
- Twitter: [@twitterhandle](https://twitter.com/raihan2bd)
- LinkedIn: [LinkedIn](https://linkedin.com/in/raihan2bd)
I would like to thatnks [Trevor Sawler](https://github.com/tsawler) Who help me a lot learn go with this project.
> Thanks for visiting my repository. Give a ⭐️ if you like this project!
This project is [MIT](./LICENSE) licensed.
## Contribution
*Your suggestions will be more than appreciated. If you want to suggest anything for this project feel free to do that. :slightly_smiling_face:*