Files
portfolio/routes/route.go
T
sylvaintr 4b5069d179 feat: Initialize project with MySQL database and API for managing projects and technologies
- Created SQL script to set up database tables for projects and technologies.
- Added Docker Compose configuration for application and MySQL service.
- Implemented API endpoints for CRUD operations on technologies.
- Defined data types for projects and technologies.
- Established routing for API endpoints.
2026-02-10 09:45:25 +01:00

11 lines
218 B
Go

package routes
import (
"net/http"
)
func SetupRoutes() {
http.HandleFunc("/api/projets", projetsHandler)
http.HandleFunc("/api/projet/", projetHandler)
http.HandleFunc("/api/technologies", technologiesHandler)
}