{"id":28069572,"url":"https://github.com/fredericfouche/scribere-releases","last_synced_at":"2026-04-29T10:07:47.006Z","repository":{"id":291293447,"uuid":"977176455","full_name":"FredericFouche/Scribere-releases","owner":"FredericFouche","description":"[WIP]This project is a Medium clone with a Java/Spring Boot back-end and an Angular front-end.","archived":false,"fork":false,"pushed_at":"2025-05-12T08:37:57.000Z","size":49025,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-12T19:09:34.325Z","etag":null,"topics":["angular","java","wip"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/FredericFouche.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-05-03T15:44:09.000Z","updated_at":"2025-05-12T08:38:01.000Z","dependencies_parsed_at":"2025-05-03T17:49:31.903Z","dependency_job_id":null,"html_url":"https://github.com/FredericFouche/Scribere-releases","commit_stats":null,"previous_names":["fredericfouche/scribere-releases"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FredericFouche%2FScribere-releases","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FredericFouche%2FScribere-releases/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FredericFouche%2FScribere-releases/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FredericFouche%2FScribere-releases/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FredericFouche","download_url":"https://codeload.github.com/FredericFouche/Scribere-releases/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253805861,"owners_count":21967053,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["angular","java","wip"],"created_at":"2025-05-12T19:09:40.135Z","updated_at":"2026-04-29T10:07:46.974Z","avatar_url":"https://github.com/FredericFouche.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://github.com/FredericFouche/Scribere/actions/workflows/WORKFLOW-FILE/badge.svg)](https://github.com/FredericFouche/Scribere)\n\n\n# Scribere\n\nScribere is a modern blogging platform that enables users to create, edit, and share rich-text articles with tags, search capabilities, and real-time indexing. It consists of a Spring Boot backend and an Angular frontend, with Postgres for data persistence, Meilisearch for fast search, and Flyway for database migrations.\n\n## Table of Contents\n\n- [Scribere](#scribere)\n  - [Table of Contents](#table-of-contents)\n  - [Tech Stack](#tech-stack)\n  - [Features](#features)\n  - [Project Structure](#project-structure)\n  - [Prerequisites](#prerequisites)\n  - [Getting Started](#getting-started)\n    - [Backend Setup](#backend-setup)\n    - [Frontend Setup](#frontend-setup)\n    - [Running with Docker](#running-with-docker)\n  - [Building for Production](#building-for-production)\n  - [Testing](#testing)\n    - [Backend Tests](#backend-tests)\n    - [Frontend Tests](#frontend-tests)\n  - [TODO](#todo)\n\n## Tech Stack\n\n- **Backend**: Java, Spring Boot, Maven, Flyway, PostgreSQL\n- **Search**: Meilisearch\n- **Frontend**: Angular 19, TypeScript, Tailwind CSS, SSR (Angular Universal)\n- **DevOps**: Docker, Docker Compose\n- **Testing**: JUnit, Spring Test, Karma, Jasmine\n\n## Features\n\n- Create, edit, and delete articles with rich-text support (Tiptap editor)\n- Tagging system with UUID-based tags\n- Full-text search powered by Meilisearch\n- Database migrations using Flyway\n- Responsive UI with Tailwind CSS\n- Server-side rendering for SEO and performance\n- RESTful API endpoints for articles and tags\n\n## Project Structure\n\n```plaintext\nScribere/\n├── backend/              # Spring Boot application\n│   ├── src/main/java     # Application code and controllers\n│   ├── src/main/resources\n│   │   └── application.properties\n│   └── src/test/java     # Integration and unit tests\n├── frontend/scribere/    # Angular application\n│   ├── src/app           # Components, pages, services, and pipes\n│   ├── src/assets        # Fonts, images\n│   └── src/styles.css    # Global styles\n├── docker-compose.yml    # Development and local multi-container setup\n└── README.md             # Project overview and setup\n```\n\n## Prerequisites\n\n- Java 17+\n- Maven 3.6+\n- Node.js 18+ and npm\n- Docker \u0026 Docker Compose (optional, recommended for local setup)\n\n## Getting Started\n\n### Backend Setup\n\n1. Navigate to the backend folder:\n   ```bash\n   cd backend\n   ```\n2. Configure database and Meilisearch in `src/main/resources/application.properties`:\n   ```properties\n   spring.datasource.url=jdbc:postgresql://localhost:5432/postgres\n   spring.datasource.username=postgres\n   spring.datasource.password=postgres\n\n   meilisearch.url=http://localhost:7700\n   meilisearch.key=devkey\n   ```\n3. Run Flyway migrations and start the server:\n   ```bash\n   mvn clean package\n   mvn spring-boot:run\n   ```\n4. The API will be available at `http://localhost:8080/api`.\n\n### Frontend Setup\n\n1. Navigate to the frontend folder:\n   ```bash\n   cd frontend/scribere\n   ```\n2. Install dependencies:\n   ```bash\n   npm install\n   ```\n3. Update API URL in `src/app/env/env.ts` if needed (default is `http://localhost:8080/api`).\n4. Run the development server:\n   ```bash\n   npm start\n   ```\n5. Open `http://localhost:4200` in your browser.\n\n### Running with Docker\n\nA full development environment can be started with Docker Compose:\n\n```bash\ndocker-compose up --build\n```\n\nThis will launch:\n- PostgreSQL at `localhost:5432`\n- Meilisearch at `localhost:7700`\n- MinIO (object storage) at `localhost:9000`\n- Backend at `localhost:8080`\n- Frontend at `localhost:4200`\n\n## Building for Production\n\n- **Backend**:\n  ```bash\n  cd backend\n  mvn clean package -DskipTests\n  ```\n- **Frontend**:\n  ```bash\n  cd frontend/scribere\n  npm run build\n  ```\n\nProduction artifacts will be generated under `backend/target` and `frontend/scribere/dist` respectively.\n\n## Testing\n\n### Backend Tests\nRun the following command to execute all tests in the backend:\n\n```bash\nmvn test\n```\n\n### Frontend Tests\nRun the following command to execute all tests in the frontend:\n\n```bash\nng test\n```\n\n## TODO\n\n- [ ] Ajouter la gestion de l'utilisateur en front\n- [ ] Ajouter la possibilite de creer/supprimer un compte front\n- [ ] Definir le guard et les routes qui sont a proteges\n- [ ] Ajouter la gestion de l'utilisateur en back end\n- [ ] Hashage du mdp avec bcrypt ?\n- [ ] Creation des routes pour manager les comptes depuis un compte admin","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffredericfouche%2Fscribere-releases","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffredericfouche%2Fscribere-releases","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffredericfouche%2Fscribere-releases/lists"}