feat: enhance README and TODO documentation, implement mobile menu functionality in Header component

- Updated README.md with project details, quick start instructions, and tech stack.
- Expanded TODO.md to reflect current project status and backlog items, including Linear ticket synchronization.
- Added mobile menu toggle functionality in Header component with corresponding tests for user interactions.
- Configured Next.js for Docker deployment and optimized build settings.
This commit is contained in:
Do Siki
2025-09-05 17:28:52 +02:00
parent 578a85ec1a
commit b0df8dd182
50 changed files with 7758 additions and 67 deletions
+1 -1
View File
@@ -30,7 +30,7 @@ jest.mock('mongodb', () => ({
// Restore environment before tests
const originalEnv = process.env
describe('MongoDB Connection', () => {
describe('MongoDB Connection (Unit Tests)', () => {
beforeEach(() => {
process.env = {
...originalEnv,
+3 -3
View File
@@ -16,13 +16,13 @@ let clientPromise: Promise<MongoClient>
// In development mode, use a global variable so that the client is not recreated between hot reloads
if (process.env.NODE_ENV === 'development') {
// @ts-ignore
// @ts-expect-error - Global variable for development hot reload
if (!global._mongoClientPromise) {
client = new MongoClient(uri, options)
// @ts-ignore
// @ts-expect-error - Global variable for development hot reload
global._mongoClientPromise = client.connect()
}
// @ts-ignore
// @ts-expect-error - Global variable for development hot reload
clientPromise = global._mongoClientPromise
} else {
// In production mode, it's best to not use a global variable