Skip to content

Latest commit

 

History

History
60 lines (37 loc) · 1.33 KB

README.md

File metadata and controls

60 lines (37 loc) · 1.33 KB

Earthly Elixirs API

This is the API for Earthly Elixirs, an e-commerce store powered by Gin/Gonic and integrated with the Stripe API for payment processing.

Features

  • Create, read, update, and delete products
  • Handle user authentication and authorization
  • Process payments securely using the Stripe API

Requirements

  • Go (version 1.16 or higher)
  • Gin (v1.7.4 or higher)
  • Stripe-Go (v76 or higher)

Installation

  1. Clone this repository:

    git clone https://github.com/yourusername/earthly-elixirs-api.git
  2. Navigate to the project directory:

    cd earthly-elixirs-api
  3. Set up your environment variables:

    • KEY: Your Stripe API secret key
  4. Install dependencies:

    go mod download
  5. Build and run the server:

    go build
    ./earthly-elixirs-api

The server should now be running on localhost:8080.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License.


Feel free to customize this template to fit the specific details of your project and its setup. Good luck with your project!