Augustin 750e2c4fe8 Add conception-assistant web application with journal management
- Express server with routes for index and API endpoints
- CRUD operations for markdown journals via REST API
- Modular view components (header, main, footer, page)
- UUID-based file management system for journals
- Content-editable journal editor with AI assistant features
- Package.json with express and uuid dependencies
- Basic project structure with assets, config, tests, views directories

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-24 16:17:28 +02:00

34 lines
624 B
JavaScript

const { getHeader } = require('./header');
const { getMain } = require('./main');
const { getFooter } = require('./footer');
function getHead(){
return `
<!DOCTYPE html>
<html lang="fr">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Conception-Assistant</title>
<link rel="stylesheet" href="/assets/css/style.css">
</head>
`;
}
function getBody(){
return `
<body>`
+ getHeader()
+ getMain()
+ getFooter() +
`</body>
</html>
`;
}
function getPage() {
return getHead() + getBody();
}
module.exports = { getPage };