Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
f62f0c9
small changes
Barenyakumar Jul 1, 2022
aa43f06
email route fixed with new smtp mail
Pratik4488 Jul 3, 2022
6a0eb3e
merged with main
Barenyakumar Jul 4, 2022
d1511a9
Merge branch 'main' into barenya
Barenyakumar Jul 4, 2022
29969d5
some bugs fixed
Barenyakumar Jul 4, 2022
5a223bd
merged with main
Pratik4488 Jul 5, 2022
0779194
some find all mentor route created and copy session link done
Pratik4488 Jul 6, 2022
bbeca55
changed url for session link
Barenyakumar Jul 7, 2022
14b2b1d
build for .me domain
Barenyakumar Jul 7, 2022
1ba8bb0
routes for challenges
Barenyakumar Jul 8, 2022
43e354a
merging git conflict
Barenyakumar Jul 8, 2022
3dc72a9
merged with trial
Barenyakumar Jul 9, 2022
a1f5641
package json commited
Pratik4488 Jul 9, 2022
a7b56e8
fixed merge issue from main
Pratik4488 Jul 9, 2022
b68a806
added session details challenges routes
Barenyakumar Jul 12, 2022
ae8cdfd
slight changes in userAuth
Barenyakumar Jul 12, 2022
e1ab896
challanges completed and file upload corrected
Barenyakumar Jul 19, 2022
8d9dbc7
added post section some parts
Pratik4488 Jul 19, 2022
948ea8f
added post in server
Pratik4488 Jul 19, 2022
9e181b1
added post in server
Pratik4488 Jul 19, 2022
a5961f3
completed post part
Pratik4488 Jul 19, 2022
8bc2040
commiting for pull request
Barenyakumar Jul 20, 2022
c4e2392
bugs fixed
Pratik4488 Jul 20, 2022
e61390d
merging files
Barenyakumar Jul 20, 2022
45d428f
changes done in session details
Pratik4488 Jul 22, 2022
9ab6825
added post styling
Barenyakumar Jul 22, 2022
a8cf353
resolved merging errors
Barenyakumar Jul 22, 2022
44c5d66
changes reagarding rsvp
Pratik4488 Jul 22, 2022
d5159c1
fixed merging errs
Barenyakumar Jul 22, 2022
a737c65
rsvp fixed
Barenyakumar Jul 22, 2022
03b6b36
added timeago react
Barenyakumar Aug 2, 2022
cfcda8c
added except auth
Barenyakumar Aug 2, 2022
446cc66
added bk pkg
Barenyakumar Aug 2, 2022
b993a3c
Merge branch 'main' of https://github.com/Barenyakumar/EW
Pratik4488 Aug 8, 2022
5427f1d
main check
Pratik4488 Aug 8, 2022
caab6c3
merged with trial 2
Pratik4488 Aug 8, 2022
0d4a9de
merged with main and other bugs relieved
Pratik4488 Aug 8, 2022
d67cde9
changes and flow fixed from barenya+pratik+main+trail2
Pratik4488 Aug 25, 2022
52071c2
Update package.json
Pratik4488 Feb 6, 2023
c2481b8
Update Profile.jsx
Pratik4488 Sep 23, 2025
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
11 changes: 11 additions & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# MONGO_URL = mongodb://localhost:27017


MONGO_URL = mongodb+srv://admin:admin123@cluster0.xwo6y.mongodb.net/Eduwarts_DB?retryWrites=true&w=majority

<!-- mongodb+srv://doadmin:1036B8NwuZd5m4E2@db-mongodb-nyc3-73883-4aef1b0f.mongo.ondigitalocean.com/admin?authSource=admin&replicaSet=db-mongodb-nyc3-73883 -->

NODE_ENV = production

PORT = 9000

Binary file added frontend/build/images/elogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 31 additions & 1 deletion frontend/build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1,31 @@
<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="https://i.ibb.co/0qJYy8x/logo.png"/><meta name="viewport" content="width=device-width,initial-scale=1"/><meta name="theme-color" content="#000000"/><meta name="description" content="Web site created using create-react-app"/><meta property="og:title" content="Platform to connect to with skilled seniors"><meta property="og:description" content="Help yourself to build a better future with skilled seniors"><meta property="og:type" content="site"><meta property="og:url" content=" https://eduwarts.com"><meta property="og:image" content="https://i.ibb.co/Y3Q0R5X/host-Session.png"/><link rel="apple-touch-icon" href="/logo192.png"/><link rel="manifest" href="/manifest.json"/><title>EDUWARTS</title><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700&family=Poppins:wght@100;200&display=swap" rel="stylesheet"><script defer="defer" src="/static/js/main.541fcf26.js"></script><link href="/static/css/main.21b4f088.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div></body></html>
<!doctype html>
<html lang="en">

<head>
<meta charset="utf-8" />
<link rel="icon" href="https://i.ibb.co/0qJYy8x/logo.png" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Web site created using create-react-app" />
<meta property="og:title" content="Platform to connect to with skilled seniors">
<meta property="og:description" content="Help yourself to build a better future with skilled seniors">
<meta property="og:type" content="site">
<meta property="og:url" content=" https://eduwarts.com">
<meta property="og:image" content="https://i.ibb.co/Y3Q0R5X/host-Session.png" />
<link rel="apple-touch-icon" href="/logo192.png" />
<link rel="manifest" href="/manifest.json" />
<title>EDUWARTS</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link
href="https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700&family=Poppins:wght@100;200&display=swap"
rel="stylesheet">
<script defer="defer" src="/static/js/main.541fcf26.js"></script>
<link href="/static/css/main.21b4f088.css" rel="stylesheet">
</head>

<body><noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
</body>

</html>
2 changes: 2 additions & 0 deletions frontend/build/static/css/main.66f21858.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions frontend/build/static/css/main.66f21858.css.map

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions frontend/build/static/js/main.c2d64507.js

Large diffs are not rendered by default.

101 changes: 101 additions & 0 deletions frontend/build/static/js/main.c2d64507.js.LICENSE.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,101 @@
/*
object-assign
(c) Sindre Sorhus
@license MIT
*/

/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */

/**
* @license React
* react-dom.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* react.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* @license React
* scheduler.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/**
* A better abstraction over CSS.
*
* @copyright Oleg Isonen (Slobodskoi) / Isonen 2014-present
* @website https://github.com/cssinjs/jss
* @license MIT
*/

/**
* React Router DOM v6.3.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/

/**
* React Router v6.3.0
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/

/** @license MUI v5.8.7
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v16.13.1
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/

/** @license React v17.0.2
* react-is.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
1 change: 1 addition & 0 deletions frontend/build/static/js/main.c2d64507.js.map

Large diffs are not rendered by default.

13 changes: 13 additions & 0 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "eduwarts",
"version": "0.1.0",
"private": true,
"proxy": "http://localhost:9000/",
"dependencies": {
"@emotion/react": "^11.8.2",
"@emotion/styled": "^11.8.1",
Expand All @@ -23,6 +24,7 @@
"react-router-dom": "^6.3.0",
"react-scripts": "5.0.0",
"swiper": "^8.1.1",
"timeago-react": "^3.0.5",
"web-vitals": "^2.1.4"
},
"scripts": {
Expand Down
Binary file added frontend/public/images/elogo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 3 additions & 3 deletions frontend/public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta name="theme-color" content="#000000" />
<meta
name="description"
content="Web site created using create-react-app"
content="Eduwarts helps to connect likeminded people and helps to upskill by understanding what's right to do next"
/>

<meta property="og:title" content="Platform to connect to with skilled seniors">
Expand All @@ -30,13 +30,13 @@
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>EDUWARTS</title>
<title>EDUWARTS,the platform that connect parallels.</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700&family=Poppins:wght@100;200&display=swap" rel="stylesheet">
</head>

<body>
<body >
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="root"></div>
<!--
Expand Down
80 changes: 80 additions & 0 deletions frontend/src/components/Card/Card.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ export default function SingleCard(props) {
</Link>
)
}

export function SessionCard(props) {
const [cardStyle, setCardStyle] = useState({})
const { user } = useContext(AuthContext)
Expand Down Expand Up @@ -144,3 +145,82 @@ export function SessionCard(props) {
</Link>
)
}

export function ChallengeCard(props) {
const [cardStyle, setCardStyle] = useState({})
// const { user } = useContext(AuthContext)
useEffect(() => {
if (props.height || props.width) {
setCardStyle({
height: props.height,
width: props.width,
margin: ".3rem .5rem",
})
// console.log("run" + cardStyle)
}
}, [props])

// const arrElem = {};
// if (props.element.mentorName)
// arrElem.Name = props.element.mentorName;
// else if (props.element.challangeName)
// arrElem.Name = props.element.challangeName;
// else if (props.element.sessionTitle)
// arrElem.Name = props.element.sessionTitle;

const publicFolder = "http://localhost:9000/UserImages/"
// const role = user
// ? user._id === props.element.mentor
// ? "host"
// : "guest"
// : ""
return (
<Link to={`/getchallenge/${props.element._id}`}>
<div className="cardcontainer" style={cardStyle}>
<div className="img">
<img
src={
props.element.challengeImg
? publicFolder + props.element.challengeImg
: "/images/default-cover.jpg"
}
alt=""
/>

<div className="des">
<div className="name">
<span className="mentor_List element">
{props.element.challengeName}
</span>
<span className="role element">
{props.element.endDate},{" "}
{new Date(
props.element.endDate + props.element.endTime
).toLocaleString([], {
hour: "2-digit",
minute: "2-digit",
})}
</span>
<div className="sessionListDesc">
<span className="role element">{props.element.category}</span>
{/* <span className="role element">
{props.element.description}
</span> */}
<Button
variant="contained"
// onClick={() => {
// window.location.replace(
// `https://62bd7a31d93831765b61385f--eduwartsmeet.netlify.app${props.element.sessionLink}/${role}`
// )
// }}
>
Participate
</Button>
</div>
</div>
</div>
</div>
</div>
</Link>
)
}
Loading