A basic structure for Go Web Applications with no reliance on 3rd party libraries.
Go to file
X201 9f741eecbe seperate footer into template 2024-05-26 21:42:53 -04:00
src seperate footer into template 2024-05-26 21:42:53 -04:00
web seperate footer into template 2024-05-26 21:42:53 -04:00
.gitignore first commit 2024-05-15 16:28:12 -04:00
config.example.json first commit 2024-05-15 16:28:12 -04:00
go.mod first commit 2024-05-15 16:28:12 -04:00
go.sum first commit 2024-05-15 16:28:12 -04:00
license first commit 2024-05-15 16:28:12 -04:00
main.go first commit 2024-05-15 16:28:12 -04:00
readme.md first commit 2024-05-15 16:28:12 -04:00

readme.md

GoStart

This is a basic starter project for building web applications using Go, Tailwind CSS, and htmx. It provides a foundation for creating interactive and responsive web applications without relying on any third-party dependencies, utilizing only the packages included with the Go language by default.

Features

  • Go: The project is built using Go, a powerful and efficient programming language for building scalable and high-performance applications.
  • Tailwind CSS: Tailwind CSS is used for styling the web application, providing a utility-first CSS framework that enables rapid UI development.
  • htmx: htmx is a lightweight library that allows you to add interactive features to your web pages without writing JavaScript, enabling server-side rendering and reducing the need for complex client-side code.
  • Bring Your Own Database: This starter project does not include a specific database implementation, allowing you to choose and integrate the database solution that best fits your project's requirements.

Getting Started

  1. Clone the repository:

    git clone https://git.happytavern.co/oceanslim/gostart.git
    
  2. Navigate to the project directory:

    cd GoStart
    
  3. Setup your configuration

    cp config.example.json config.json
    
  4. Build and run the application:

    go run main.go
    

    The application will be accessible at http://localhost:8787, or whatever port you set in your configuration.

Contributing

Contributions to this project 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.