diff --git a/README.md b/README.md index 66412f3..6596347 100644 --- a/README.md +++ b/README.md @@ -2,4 +2,14 @@ Upload a file. Share the URL/link. Download the file. -Simple as that. \ No newline at end of file +Simple as that. + +## Setup development environment + +Requirements: +- Java JDK 21 +- Gradle 8.5 + +1. Update `spring.profiles.active` in `application.properties` to `development` +2. Start external Backend and Database +3. Run `./gradlew bootRun ` in the root directory \ No newline at end of file diff --git a/build.gradle b/build.gradle index 6a61ff9..f89eaee 100644 --- a/build.gradle +++ b/build.gradle @@ -9,6 +9,10 @@ version = '0.0.2' java { sourceCompatibility = '21' + targetCompatibility = '21' + toolchain { + languageVersion = JavaLanguageVersion.of(21) + } } configurations { diff --git a/db/docker-compose.yml b/db/docker-compose.yml new file mode 100644 index 0000000..d6407f1 --- /dev/null +++ b/db/docker-compose.yml @@ -0,0 +1,13 @@ +version: '3.8' +services: + rethinkdb: + image: rethinkdb:latest + restart: unless-stopped + volumes: + - rethinkdb_data:/data + ports: + - "28015:28015" # Client driver port + - "8080:8080" # Admin UI port + +volumes: + rethinkdb_data: \ No newline at end of file diff --git a/frontend/README.md b/frontend/README.md index 1831a52..01e6a2f 100644 --- a/frontend/README.md +++ b/frontend/README.md @@ -1,27 +1,3 @@ -# Frontend +# Befor production deployment -This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 17.0.3. - -## Development server - -Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The application will automatically reload if you change any of the source files. - -## Code scaffolding - -Run `ng generate component component-name` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module`. - -## Build - -Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory. - -## Running unit tests - -Run `ng test` to execute the unit tests via [Karma](https://karma-runner.github.io). - -## Running end-to-end tests - -Run `ng e2e` to execute the end-to-end tests via a platform of your choice. To use this command, you need to first add a package that implements end-to-end testing capabilities. - -## Further help - -To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page. +Note that the baseURL is automatically defined by the `DevelopementStore.ts` store. diff --git a/frontend/src/app/credits/credits.component.html b/frontend/src/app/credits/credits.component.html index 1472cb1..11be4c4 100644 --- a/frontend/src/app/credits/credits.component.html +++ b/frontend/src/app/credits/credits.component.html @@ -1,10 +1,21 @@

credits works!

-

+ +

Used media

-