- 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.
11 lines
218 B
Go
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)
|
|
} |