Skip to content

Commit 7f8034a

Browse files
committed
The .env file is removed from the git repo as it contained token and secret key, you can create your own .env file in the root of backend directory and then add relevent info. Additionally, in the frontend, the section of the rendered exercises are set.
1 parent e1943a0 commit 7f8034a

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

backend/.env

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
ATLAS_URI=mongodb+srv://umarilly:TnO59K4WFu9IMGC1@exercisetrackerappclust.ygpinyl.mongodb.net/?retryWrites=true&w=majority
2+
JWT_SECRET=H3v6@g8^go!4hgaK

frontend/src/components/Dashboard.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ const Dashboard = () => {
203203
<div className='dashboard-results' >
204204
<Grid container spacing={2}>
205205
<Grid item xs={12}>
206-
<List sx={{ backgroundColor: '#f5f5f5', borderRadius: 8 }}>
206+
<List sx={{ borderRadius: 8 }}>
207207
{exercises.map(exercise => (
208208
<ListItem key={exercise._id} sx={{ border: '1px solid #ccc', borderRadius: 4, marginBottom: 2 }}>
209209
<ListItemText

0 commit comments

Comments
 (0)