Skip to content

need dockerize #77

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 49 commits into from
Mar 31, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
71ae815
Merge pull request #66 from definecoder/main
codermehraj Mar 30, 2024
06c6492
fiexed error in the storage status of the landfill dashboard
codermehraj Mar 30, 2024
28d893d
updated backend to get sts storage status
codermehraj Mar 30, 2024
b63f9c8
Updated STS data fetching hookes
codermehraj Mar 30, 2024
701b110
Fixed STS Vehicle entry modal & Added current vehicles
codermehraj Mar 30, 2024
0590974
Updated STS current vehicle list table
codermehraj Mar 30, 2024
c008560
STS Manager dashboard done and STS vehicle history added
codermehraj Mar 30, 2024
3508036
STS optimal route from map finalized
codermehraj Mar 30, 2024
bb6017c
schedule and optimal route of sts manager dashboard completed
codermehraj Mar 30, 2024
6c542ca
fixed create vehicle api
shawon-majid Mar 30, 2024
220b36e
Merge pull request #69 from definecoder/optimization
shawon-majid Mar 30, 2024
17447ce
Storage panel of sts manager completed
codermehraj Mar 30, 2024
1579b67
Merge pull request #70 from definecoder/pass-map-dockerize
nafi-ullah Mar 30, 2024
cd772f5
changed favicon
codermehraj Mar 30, 2024
53adfd2
Updated data tables
codermehraj Mar 30, 2024
0328ca1
scheduling algorithm added
shawon-majid Mar 30, 2024
0e26a6f
completed dump entry page
codermehraj Mar 30, 2024
c1733cd
updated seed
codermehraj Mar 30, 2024
c7a3c6c
automatic capacity & sts id added in vehicle creation
codermehraj Mar 30, 2024
e59c7a7
updated edit and get all vehicle
codermehraj Mar 30, 2024
984fbee
Merge branch 'main' into sts-systems
codermehraj Mar 30, 2024
e8d6ddb
RESOLVED CONFLICTS :) AND MERGED UPDATES
codermehraj Mar 30, 2024
65e6474
schedule api endpoints added
shawon-majid Mar 30, 2024
7a5a5c7
Merge pull request #72 from definecoder/pass-map-dockerize
codermehraj Mar 30, 2024
3e5e482
bug fixed
shawon-majid Mar 30, 2024
dad5194
authentication and authorization on the basis of role added
shawon-majid Mar 30, 2024
a3bf22c
fixed precision return in current waste percentage api
codermehraj Mar 30, 2024
7e3ed26
removed signup
codermehraj Mar 30, 2024
8a12f2d
current total waste of landfill and sts updated on runtime
shawon-majid Mar 30, 2024
6c568d0
Merge pull request #73 from definecoder/optimization
codermehraj Mar 30, 2024
8c79e49
navbar and hero section done
nafi-ullah Mar 30, 2024
45515e4
logout conncected with backend
codermehraj Mar 31, 2024
1b87427
Fixed profile route and also updated some other bugs
codermehraj Mar 31, 2024
bcc2b25
added antd for custom message in place of all alert
codermehraj Mar 31, 2024
31e2e04
removed signup hook
codermehraj Mar 31, 2024
943e6ff
added bills in admin dashboard
codermehraj Mar 31, 2024
f1a681f
fixed all error messages more than 80 error handelings)
codermehraj Mar 31, 2024
45c685d
Added landfill release option with backend connection
codermehraj Mar 31, 2024
4385197
vehicle live tracking fixed
codermehraj Mar 31, 2024
8327097
incoming waste integrated in the sts
codermehraj Mar 31, 2024
0d75989
Made Component for Schedule from STS ID
codermehraj Mar 31, 2024
67740c6
Merge pull request #74 from definecoder/finishing-touches
codermehraj Mar 31, 2024
dffdc28
homepage layout done
nafi-ullah Mar 31, 2024
5286fe0
fixed error bugs
shawon-majid Mar 31, 2024
19394ef
fixed auth errors and bugs
shawon-majid Mar 31, 2024
051a84d
logout api implemented
shawon-majid Mar 31, 2024
a7ae8ec
Merge pull request #75 from definecoder/optimization
shawon-majid Mar 31, 2024
ec14148
home page done
nafi-ullah Mar 31, 2024
08bb2ce
Merge pull request #76 from definecoder/homepage
nafi-ullah Mar 31, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added .DS_Store
Binary file not shown.
5 changes: 3 additions & 2 deletions client/app/auth/change-password/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ import { Input } from "@/components/ui/input";
import { Label } from "@/components/ui/label";
import useChangePass from "@/hooks/auth/useChangePass";
import { setCookie } from "@/lib/cookieFunctions";
import { message } from "antd";
import Link from "next/link";
import { useRouter } from "next/navigation";
import { useEffect, useState } from "react";
Expand All @@ -34,7 +35,7 @@ export default function ChangePassword() {
setTime((time) => {
if (time === 0) {
clearInterval(timer);
alert("Time Expired!");
message.error("Time Expired!");
router.push("/dashboard");
return 0;
} else return time - 0.5;
Expand All @@ -45,7 +46,7 @@ export default function ChangePassword() {
async function submitForm() {

isVerified && (await changePass()) && router.push("/dashboard");
!isVerified && alert("Invalid Captcha!");
!isVerified && message.error("Invalid Captcha!");
}

return (
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { useRouter } from "next/navigation";
import useForgetPassInitiate from "@/hooks/auth/useForgetPassInitiate";
import { useContext, useState } from "react";
import ReCAPTCHA from "react-google-recaptcha";
import { message } from "antd";

function ForgetPassInitiateForm() {
const { userEmail, setUserEmail, initiate } = useForgetPassInitiate();
Expand All @@ -18,7 +19,7 @@ function ForgetPassInitiateForm() {
async function handleFormSubmit(e: React.FormEvent<HTMLFormElement>) {
e.preventDefault();
if (!isCaptchaVerified) {
alert("Please verify that you are not a robot.");
message.warning("Please verify that you are not a robot.");
return;
}
const success = await initiate();
Expand Down
15 changes: 0 additions & 15 deletions client/app/auth/signup/leftImage.tsx

This file was deleted.

15 changes: 0 additions & 15 deletions client/app/auth/signup/page.tsx

This file was deleted.

84 changes: 0 additions & 84 deletions client/app/auth/signup/rightForm.tsx

This file was deleted.

3 changes: 2 additions & 1 deletion client/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import { Inter } from "next/font/google";
import "./globals.css";
import '@mantine/core/styles.css';
import '@mantine/charts/styles.css';
import { AntdRegistry } from '@ant-design/nextjs-registry';

import { ColorSchemeScript, MantineProvider } from '@mantine/core';

Expand All @@ -26,7 +27,7 @@ export default function RootLayout({
<head>
<ColorSchemeScript />
</head>
<body className={inter.className}><MantineProvider>{children}</MantineProvider></body>
<body className={inter.className}><AntdRegistry><MantineProvider>{children}</MantineProvider></AntdRegistry></body>
</html>
);
}
24 changes: 21 additions & 3 deletions client/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,28 @@
import Hero from "@/components/Homepage/Hero";
import Navbar from "@/components/Homepage/Navbar";
import Image from "next/image";
import SectionTitle from "@/components/Homepage/SectionTitle";import Benifit from "@/components/Homepage/Benifit";
import Deliverable from "@/components/Homepage/Deliverables";
import Teamintro from "@/components/Homepage/Teamintro";
;

export default function Home() {
return (
<main>
<h1>Welcome to EcoSync</h1>
<Image src="/logo.png" alt="EcoSync" width={200} height={200} />
<main className="bg-[#EEF7FC]">
<Navbar/>
<Hero />
<SectionTitle
pretitle="EcoSync Benefits"
title=" Why should you use this EcoSync Software">
Our dashboard empowers Dhaka South City Corporation to allocate resources more effectively,
optimizing manpower and equipment utilization for waste management tasks, thus fostering operational efficiency, reducing operational costs,
and ultimately leading to a cleaner, more sustainable urban environment.
</SectionTitle>
<Benifit/>
<Deliverable/>
<Teamintro/>

</main>
);
}
// /<Image src="/logo.png" alt="EcoSync" width={200} height={200} />
184 changes: 0 additions & 184 deletions client/app/profile/[userId]/page.tsx

This file was deleted.

Loading