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.
This commit is contained in:
@@ -1,4 +1,14 @@
|
||||
import express from "express";
|
||||
import dotenv from "dotenv";
|
||||
const router = express.Router();
|
||||
dotenv.config();
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user