Files
portfolio/main.go
T
= 4335fd5cae Add initial project structure with database connection and routing setup
- Create .env.example and .gitignore to manage environment variables
- Implement database connection logic in bd.go
- Define project model and data retrieval functions in projet.go
- Set up HTTP routes for project management in routes/projet.go
- Add main entry point in main.go to start the server
2025-09-23 09:35:10 +02:00

15 lines
196 B
Go

package main
import (
"api_serveurless_go/routes"
"net/http"
)
func main() {
// Configuration des routes
routes.SetupRoutes()
// Démarrage du serveur
http.ListenAndServe(":3000", nil)
}