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
Expand Up @@ -33,10 +33,12 @@ jspm_packages/
*.pid
*.seed
*.pid.lock
*.env

# Coverage
coverage/

# Temporary files
*.tmp
*.temp
docs/
14 changes: 14 additions & 0 deletions Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,3 +2,17 @@

This is an application where you can manage course materials.
It is especially valuable for short-track courses, particularly when there are two nearly identical courses, such as PL/LT and GUKKA.

## Authentication Status

This implementation includes robust error handling for backend connectivity:

- **✅ Real Authentication**: When Strapi backend is properly configured
- **🔄 Mock Authentication**: Fallback when backend is unavailable (demo purposes)
- **🛡️ Error Handling**: Graceful handling of all authentication errors

### Current Status

- Frontend implementation: ✅ Complete
- Backend integration: ⏳ Pending Strapi configuration
- Demo functionality: ✅ Available with mock authentication
12 changes: 11 additions & 1 deletion st-app-frontend/next.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,17 @@
import type { NextConfig } from "next";

/** @type {import('next').NextConfig} */
const nextConfig: NextConfig = {
/* config options here */
images: {
remotePatterns: [
{
protocol: "https",
hostname: "avatars.githubusercontent.com",
port: "",
pathname: "/u/**",
},
],
},
};

export default nextConfig;
Loading