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.
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
package routes
|
||||
|
||||
import (
|
||||
"net/http"
|
||||
)
|
||||
|
||||
func SetupRoutes() {
|
||||
http.HandleFunc("/api/projets", projetsHandler)
|
||||
http.HandleFunc("/api/projet/", projetHandler)
|
||||
http.HandleFunc("/api/technologies", technologiesHandler)
|
||||
}
|
||||
Reference in New Issue
Block a user