Skip to content

vnurhaqiqi/go-htmx-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GO HTMX Demo

This project demonstrates the simple way to use Go and HTXM and integrate with the PokeAPI to retrieve information about Pokémon, including their height, weight, and other attributes.

Pokemon-Wiki1-ezgif com-video-to-gif-converter

Getting Started

Prerequisites

Before running the project, make sure you have the following installed:

  • Go (version 1.16 or higher)
  • Fiber (a web framework for Go)
  • Any necessary dependencies (specified in go.mod)

Installation

  1. Clone the repository to your local machine: https://github.com/vnurhaqiqi/go-htmx-demo
  2. Navigate to the project directory: cd go-htmx
  3. Install dependencies: go mod download

Usage

  1. Start the server: go run .
  2. Open a web browser and go to http://yourhost:3000.
  3. Use the search functionality to find information about Pokémon by name.

Features

  • Search for Pokémon by name.
  • Retrieve information such as height, weight, and other attributes from the PokeAPI.
  • Simple and intuitive user interface.

Built With

  • Go - The programming language used
  • Fiber - Web framework for Go
  • Bootstrapt & HTMX

Contributing

Contributions are welcome! Please feel free to submit pull requests or open issues if you find any bugs or have suggestions for improvements.

Acknowledgments

Thanks to the creators of the PokeAPI for providing the data used in this project.