{"repo":"create-go-app/net_http-go-template","free":true,"listed":false,"github":"https://github.com/create-go-app/net_http-go-template","clone":"git clone https://github.com/create-go-app/net_http-go-template.git","description":"📝 net/http backend template for Create Go App CLI.","language":"Go","stars":54,"topics":["template-project","golang-app-server","golang","api-server","api-rest","create-go-app","cgapp","net-http","backend-template","docker"],"license":"Apache-2.0","category":"deployment-docker-iac","readme_excerpt":"net/http backend template for Create Go App CLI &nbsp; &nbsp; Package net provides a portable interface for network I/O, including TCP/IP, UDP, domain name resolution, and Unix domain sockets. Although the package provides access to low-level networking primitives. Package net/http provides HTTP client and server implementations. ⚡️ Quick start 1. Create a new project with Fiber: 2. Rename .env.example to .env and fill it with your environment values. 3. Install Docker and the following useful Go tools to your system: - golang-migrate/migrate for apply migrations - github.com/swaggo/swag for auto-generating Swagger API docs - github.com/securego/gosec for checking Go security issues - github.com/go-critic/go-critic for checking Go the best practice issues - github.com/golangci/golangci-lint for checking Go linter issues 4. Run project by this command: 5. Go to API Docs page (Swagger): 127.0.0.1:5000/swagger/index.html 📦 Used packages Name Version Type --------------------------------------------------------------------- --------- ---------- net/http latest core gorilla/mux v1.8.0 router auth0/go-jwt-middleware v1.0.1 middleware swaggo/http-swagger v1.1.2 middleware stretchr/testify v1.7.0 tests golang-jwt/jwt v4.2.0 auth joho/godotenv v1.4.0 config jmoiron/sqlx v1.3.4 database jackc/pgx v4.14.1 database swaggo/swag v1.7.6 utils google/uuid v1.3.0 utils go-playground/validator v10.9.0 utils 🗄 Template structure ./app Folder with business logic only . This directory doesn't c","default_branch":null,"files":null,"tree":[],"storefront":"/r/create-go-app","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/create-go-app/net_http-go-template/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}