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
This commit is contained in:
=
2025-09-23 09:35:10 +02:00
commit 4335fd5cae
8 changed files with 193 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
package main
import (
"api_serveurless_go/routes"
"net/http"
)
func main() {
// Configuration des routes
routes.SetupRoutes()
// Démarrage du serveur
http.ListenAndServe(":3000", nil)
}