Skip to content

Commit ad45beb

Browse files
committed
readme add and helmet
1 parent 6347499 commit ad45beb

22 files changed

+172
-18
lines changed

README.md

Lines changed: 48 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,51 @@
1-
# React + Vite
1+
# Hostel Management system for a university || Assigment-12, catagory-0014
22

3-
This template provides a minimal setup to get React working in Vite with HMR and some ESLint rules.
3+
#live link :
44

5-
Currently, two official plugins are available:
5+
- Admin email:rezwanhossen@gmail.com
6+
- password:123456
7+
- (https://sms-clint.web.app)
68

7-
- [@vitejs/plugin-react](https://github.com/vitejs/vite-plugin-react/blob/main/packages/plugin-react/README.md) uses [Babel](https://babeljs.io/) for Fast Refresh
8-
- [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) uses [SWC](https://swc.rs/) for Fast Refresh
9+
# use pakages
10+
11+
- "@headlessui/react": "^2.0.4",
12+
- "@stripe/react-stripe-js": "^2.7.1",
13+
- "@stripe/stripe-js": "^3.5.0",
14+
- "@tanstack/react-query": "^5.40.0",
15+
- "axios": "^1.7.2",
16+
- "firebase": "^10.12.2",
17+
- "localforage": "^1.10.0",
18+
- "match-sorter": "^6.3.4",
19+
- "moment": "^2.30.1",
20+
- "react": "^18.2.0",
21+
- "react-dom": "^18.2.0",
22+
- "react-helmet-async": "^2.0.5",
23+
- "react-hook-form": "^7.51.5",
24+
- "react-hot-toast": "^2.4.1",
25+
- "react-icons": "^5.2.1",
26+
- "react-infinite-scroll-component": "^6.1.0",
27+
- "react-router-dom": "^6.23.1",
28+
- "react-tabs": "^6.0.2",
29+
- "sort-by": "^1.2.0",
30+
- "sweetalert2": "^11.11.1",
31+
- "swiper": "^11.1.4"
32+
33+
# DataBage
34+
35+
- mongoDB
36+
37+
# feature your website
38+
39+
- Student Registration and Profile Management
40+
- Room Allocation and Management
41+
- Fee Management
42+
- Attendance Tracking
43+
- Visitor Management
44+
- Maintenance Requests
45+
- Meal Management
46+
- Notification System
47+
- Complaint Management
48+
- Reports and Analytics
49+
- Document Management
50+
- Mobile App Integration
51+
- Security Management

package-lock.json

Lines changed: 32 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"moment": "^2.30.1",
2222
"react": "^18.2.0",
2323
"react-dom": "^18.2.0",
24+
"react-helmet-async": "^2.0.5",
2425
"react-hook-form": "^7.51.5",
2526
"react-hot-toast": "^2.4.1",
2627
"react-icons": "^5.2.1",

src/Componente/Home.jsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@ import Blog from "../Pages/Home/Blog";
33
import ContactUs from "../Pages/Home/ContactUs";
44
import MaleinCatagory from "../Pages/Home/MaleinCatagory";
55
import PrimeMeal from "../Pages/Home/PrimeMeal";
6+
import { Helmet } from "react-helmet-async";
67

78
const Home = () => {
89
return (
910
<div>
11+
<Helmet>
12+
<title>Home</title>
13+
</Helmet>
1014
<Banner></Banner>
1115
<MaleinCatagory></MaleinCatagory>
1216
<PrimeMeal></PrimeMeal>

src/Componente/Meals/Meals.jsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ import LogingSpiner from "../../Sheare/LogingSpiner";
44
import InfiniteScroll from "react-infinite-scroll-component";
55
import { useState } from "react";
66
import MealsCard from "../../Sheare/MealsCard";
7+
import { Helmet } from "react-helmet-async";
78

89
const Meals = () => {
910
const [filter, setCategoryFilter] = useState("");
@@ -35,6 +36,9 @@ const Meals = () => {
3536

3637
return (
3738
<div>
39+
<Helmet>
40+
<title>All meals</title>
41+
</Helmet>
3842
<div className="mt-5 bg-lime-600 p-4 space-y-3 md:flex justify-between items-center">
3943
<form onSubmit={handelsearch} className="flex gap-2">
4044
<input

src/Dashbord/AdminPages/AddUpcoming.jsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ const AddUpcoming = ({ isOpen, setisOpen, refetch }) => {
6565
};
6666
return (
6767
<div>
68+
6869
<Transition appear show={isOpen}>
6970
<Dialog
7071
as="div"

src/Dashbord/AdminPages/Addmeal.jsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ import toast from "react-hot-toast";
33
import useAuth from "../../Hooks/useAuth";
44
import useAxiosCommon from "../../Hooks/useAxiosCommon";
55
import useAxiosSecqur from "../../Hooks/useAxiosSecqur";
6+
import { Helmet } from "react-helmet-async";
7+
68
import moment from "moment";
79
const imgHosting_api = `https://api.imgbb.com/1/upload?key=${
810
import.meta.env.VITE_IMGBB_key
@@ -57,6 +59,9 @@ const Addmeal = () => {
5759
};
5860
return (
5961
<div>
62+
<Helmet>
63+
<title>Admin || Add meals</title>
64+
</Helmet>
6065
<h2 className="text-3xl font-bold my-5 text-center">Add Meal</h2>
6166
<form onSubmit={handleSubmit(onSubmit)}>
6267
<div className="grid md:grid-cols-2 gap-3">

src/Dashbord/AdminPages/AdminHome/AdminHome.jsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { FaUsers } from "react-icons/fa6";
88
import { MdNoMeals } from "react-icons/md";
99
import { MdOutlineBorderColor } from "react-icons/md";
1010
import { MdOutlineRateReview } from "react-icons/md";
11+
import { Helmet } from "react-helmet-async";
1112

1213
const AdminHome = () => {
1314
const { user } = useAuth();
@@ -24,6 +25,9 @@ const AdminHome = () => {
2425

2526
return (
2627
<div>
28+
<Helmet>
29+
<title>Admin || Home</title>
30+
</Helmet>
2731
<h2 className="text-2xl font-bold">
2832
hi, Welcome{" "}
2933
<span>{user?.displayName ? user?.displayName : "Back"} </span>

src/Dashbord/AdminPages/AdminProfil.jsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ import { useQuery } from "@tanstack/react-query";
22
import useAuth from "../../Hooks/useAuth";
33
// import useAxiosCommon from "../../Hooks/useAxiosCommon";
44
import useAxiosSecqur from "../../Hooks/useAxiosSecqur";
5+
import { Helmet } from "react-helmet-async";
56

67
const AdminProfil = () => {
78
const { user } = useAuth();
@@ -16,6 +17,9 @@ const AdminProfil = () => {
1617

1718
return (
1819
<div>
20+
<Helmet>
21+
<title>Admin || profile</title>
22+
</Helmet>
1923
<div className=" md:w-2/4 mx-auto">
2024
<div className=" flex justify-center">
2125
<div className="space-y-3">

src/Dashbord/AdminPages/AllMeals.jsx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import useAxiosSecqur from "../../Hooks/useAxiosSecqur";
88
import Swal from "sweetalert2";
99
import toast from "react-hot-toast";
1010
import { useState } from "react";
11+
import { Helmet } from "react-helmet-async";
12+
1113
// import { useMemo } from "react";
1214

1315
const AllMeals = () => {
@@ -62,6 +64,9 @@ const AllMeals = () => {
6264
if (isLoading) return <LogingSpiner></LogingSpiner>;
6365
return (
6466
<div>
67+
<Helmet>
68+
<title>Admin || All Meals</title>
69+
</Helmet>
6570
<div className="overflow-x-auto">
6671
<table className="table overflow-x-auto">
6772
{/* head */}

0 commit comments

Comments
 (0)