This is a Go web application that performs simple user authentication using Steam OpenID. This is a work in progress for a personal project (Mist) to track historical CS2 skin price data from online marketplaces.
- Web server (basic routing, html templates)
- Simple user authentication using Steam OpenID
- implement database connection
- build relevant api
- Go 1.16 or higher
- Steam API Key (for authentication)
- Clone the repository:
bash
git clone https://github.com/yourusername/mist.git
cd mist
- Create a
.envfile in the root directory and add your Steam API key:
STEAM_API_KEY=your_api_key_here
PORT=8080
- Build and run the application:
go run main.go
- Open your browser and navigate to Open your browser and navigate to
URL_ADDRESS:8080.
├── auth/ # Authentication package
├── components/ # HTML templates
├── static/ # Static assets
│ ├── css/ # Stylesheets
│ ├── images/ # Images and icons
│ └── js/ # JavaScript files
└── main.go # Main application file, web router and handlers