Skip to content
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

pull request for akanksha branch #5

Merged
merged 75 commits into from
Oct 15, 2024

Conversation

AkankshShigwan
Copy link
Owner

No description provided.

prasadhonrao and others added 30 commits October 8, 2024 11:03
- Refactor env.js to load environment variables from .env file in all environments
- Update package-lock.json name to lowercase
Remove , from .env file
Update ManageReviewsPage to dynamically render bootcamp reviews
prasadhonrao and others added 29 commits October 13, 2024 20:57
2. Consolidate CSS
3. Implement login and logout features
…component

- Create a new file NumberFormat.js in the helpers directory to handle number formatting using Intl.NumberFormat
- Update the Courses component to remove the Table import and replace it with a new implementation using the temporary data array
- Remove the unused Courses.jsx file

Closes #76
Add BootcampDetailsPage and ManageCoursesPage
Modify BootcampReviewsPage component to use React icons and card spacing consistently
…ching bootcamp data and dynamically render courses
Integrate AddCourse and ManageBootcamp Pages with backend API
- Refactored the App component to include authentication logic using the useState and useEffect hooks. The isAuthenticated state is now managed and updated based on the presence of a token in the local storage.
- Modified the Header component to receive the isAuthenticated state and setIsAuthenticated function as props. Removed the token removal and redirect logic from the handleLogout function.
- Updated the LoginPage component to use the useNavigate hook from react-router-dom for redirecting after successful login. The setIsAuthenticated function is now called with the value true upon successful login, and false upon login error.
@AkankshShigwan AkankshShigwan merged commit a299cc3 into AkankshShigwan:akanksha Oct 15, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants