Files
ca-lose/backend/routes/default/frontend.route.js
Theis 110a5b17c2 feat: integrate Tailwind CSS and enhance MainForm component
- Added Tailwind CSS and related packages to the project.
- Refactored App.css and index.css to use Tailwind for styling.
- Enhanced MainForm component with improved form handling, validation, and layout using Material-UI and Tailwind CSS.
- Implemented dynamic error handling and submission feedback.
- Created a new Tailwind configuration file.
2026-01-13 19:46:34 +01:00

15 lines
347 B
JavaScript

import express from "express";
import dotenv from "dotenv";
const router = express.Router();
dotenv.config();
import { getAll25 } from "./frontend.data.js";
router.post("/frontend", (req, res) => {
console.log(req.body);
res.status(200).json({ message: "Data received successfully" });
console.log(getAll25());
});
export default router;