Add backend and frontend structure with routing, components, and styling
- Implemented Express server with CORS and dotenv support - Created basic routing with React Router in frontend - Added Admin and Home components with navigation - Integrated MainForm component for user input - Updated package.json and package-lock.json with new dependencies - Styled components using Tailwind CSS and Lucide icons - Added error handling in server - Created initial EJS view for backend
This commit is contained in:
15
frontend/src/components/Home.tsx
Normal file
15
frontend/src/components/Home.tsx
Normal file
@@ -0,0 +1,15 @@
|
||||
import "../App.css";
|
||||
import Layout from "../layout/Layout";
|
||||
import MainForm from "./MainForm";
|
||||
|
||||
function App() {
|
||||
return (
|
||||
<>
|
||||
<Layout>
|
||||
<MainForm />
|
||||
</Layout>
|
||||
</>
|
||||
);
|
||||
}
|
||||
|
||||
export default App;
|
Reference in New Issue
Block a user