Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.env

# Logs
logs
*.log
Expand Down
15 changes: 8 additions & 7 deletions client/package-lock.json

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

4 changes: 2 additions & 2 deletions client/src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ function App() {
const [isSidebarOpen, setIsSidebarOpen] = useState(false);

return (
<div className="App relative z-20 pt-20">
<div className="relative z-20 pt-20 App">
<Navbar toggleSidebar={() => setIsSidebarOpen(!isSidebarOpen)} />
{isSidebarOpen && <Sidebar />}
<div className={`content ${isSidebarOpen ? 'shifted' : ''} relative z-10`}>
Expand All @@ -39,7 +39,7 @@ function App() {
<Route path="/login" element={<IsAnon><LoginPage /></IsAnon>} />
<Route path="/signup" element={<IsAnon><SignupPage /></IsAnon>} />


1
</Routes>
</div>

Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/CohortListPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ function CohortListPage() {
handleChange={handleChange}
/>

<div className="flex justify-between items-center p-2 font-bold border-b">
<div className="flex items-center justify-between p-2 font-bold border-b">
<span style={{ flexBasis: "25%" }}>Cohort</span>
<span style={{ flexBasis: "15%" }}>Program</span>
<span style={{ flexBasis: "15%" }}>Format</span>
Expand Down
2 changes: 1 addition & 1 deletion client/src/pages/StudentListPage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ function StudentListPage() {

return (
<div className="StudentListPage">
<div className="flex justify-between items-center p-2 font-bold border-b">
<div className="flex items-center justify-between p-2 font-bold border-b">
<span className="flex items-center justify-center" style={{ flexBasis: "20%" }}>Image</span>
<span style={{ flexBasis: "20%" }}>Name</span>
<span style={{ flexBasis: "20%" }}>Program</span>
Expand Down
225 changes: 225 additions & 0 deletions package-lock.json

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

8 changes: 8 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
{
"dependencies": {
"bcryptjs": "^3.0.2",
"dotenv": "^16.4.7",
"express-jwt": "^8.5.1",
"jsonwebtoken": "^9.0.2"
}
}
1 change: 0 additions & 1 deletion server/.env.sample

This file was deleted.

2 changes: 1 addition & 1 deletion server/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ The *Models* section holds information about the data models for your database.
| `program` | *`String`* | Type of program the student is enrolled in. Allowed values: "Web Dev", "UX/UI", "Data Analytics", "Cybersecurity". |
| `background` | *`String`* | Background information about the student. Default: Empty. |
| `image` | *`String`* | URL to the student's profile image. Default: https://i.imgur.com/r8bo8u7.png . |
| `cohort` | *`ObjectId`*, | Reference *_id* of the cohort the student belongs to. |
| `cohort` | *`4`*, | Reference *_id* of the cohort the student belongs to. |
| `projects` | *`Array`* | Array of the student's projects. |


Expand Down
Loading