Skip to content
Merged
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: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
run: npm test
env:
MONGO_URI: ${{ secrets.MONGO_URI }} # Use secrets for sensitive data
JWT_SECRET: ${{ secrets.JWT_SECRET }}
JWT_SECRET: ${{ github.event_name == 'pull_request' && secrets.JWT_SECRET_TEST || secrets.JWT_SECRET }}

# Add your backend deployment step here, e.g., to Render or Heroku

Expand Down
2 changes: 1 addition & 1 deletion frontend/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Vite + React</title>
<title>Collaborative Project Management</title>
</head>
<body>
<div id="root"></div>
Expand Down
6 changes: 4 additions & 2 deletions frontend/src/pages/HomePage.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const HomePage = () => {
<div className="w-full max-w-md p-8 bg-gray-800 rounded-lg shadow-lg">
<h3 className="text-xl font-semibold mb-4">Guest Access</h3>
<p className="text-sm text-gray-400 mb-6">
Click a button for a one-click demo to explore the app.
To test the application and its collaborative features without registering, you can use the following pre-configured demo accounts.
</p>
<div className="space-y-3">
<button
Expand All @@ -43,7 +43,9 @@ const HomePage = () => {
Login as Demo User 2
</button>
</div>

<p className="text-sm text-gray-400 mb-6">
<br></br>Performance Note: The backend is deployed on a free-tier Render instance, which may "spin down" after a period of inactivity. The first request (like logging in) may take 30-50 seconds to complete as the server restarts. Subsequent requests will be much faster.
</p>
<div className="mt-6 pt-6 border-t border-gray-700 text-sm text-gray-400">
<p>
Already have an account?{' '}
Expand Down
Loading