go-credit-transact

module
v0.0.0-...-5d6c776 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 25, 2023 License: MIT

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.

Tech Stack

I used Go (golang), MariaDB, Bootstrap, Html, Javascript and css to build this project.

Full Stack
  • Go
  • MariaDB
  • Bootstrap
  • JAVASCRIPT
  • Html
  • CSS
Major Dependencies

Demo

Capture

💻 Getting Started

  • To get star with this package first of all you have to clone the project ⬇️
https://github.com/raihan2bd/go-credit-transact.git
  • Then Make sure you have install Go (golang) version 1.8.0 or latest stable version.
  • Then make sure you have install MariaDB 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 ⬇️
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
  • To setup database tables and columns by onClick install soda cli database migration tool Then run below command ⬇️
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 ⬇️
make start

or

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

🙏 Acknowledgments

I would like to thatnks Trevor Sawler Who help me a lot learn go with this project.

⭐️ Show your support

Thanks for visiting my repository. Give a ⭐️ if you like this project!

📝 License

This project is MIT licensed.

Contribution

Your suggestions will be more than appreciated. If you want to suggest anything for this project feel free to do that. 🙂

Directories

Path Synopsis
cmd
api
web
internal

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL