-
Notifications
You must be signed in to change notification settings - Fork 881
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementig cors #79
base: main
Are you sure you want to change the base?
Implementig cors #79
Commits on Sep 11, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 466b549 - Browse repository at this point
Copy the full SHA 466b549View commit details -
Configuration menu - View commit details
-
Copy full SHA for 405106b - Browse repository at this point
Copy the full SHA 405106bView commit details -
Configuration menu - View commit details
-
Copy full SHA for a372c94 - Browse repository at this point
Copy the full SHA a372c94View commit details -
Configuration menu - View commit details
-
Copy full SHA for 76806df - Browse repository at this point
Copy the full SHA 76806dfView commit details -
Update database credentials and configuration
Modified the `application.yml` and `docker-compose.yml` files to use 'postgres' as the database username and password. Also changed the JPA hibernate `ddl-auto` configuration from 'create-drop' to 'update' for better consistency during development.
Configuration menu - View commit details
-
Copy full SHA for a74f739 - Browse repository at this point
Copy the full SHA a74f739View commit details -
Add PostgreSQL service to Docker workflow
Incorporated PostgreSQL service to the GitHub Actions workflow for building Docker images. The setup ensures the database is ready before Maven builds, supporting integration tests. Adjusted formatting and fixed Java version specification.
Configuration menu - View commit details
-
Copy full SHA for 0cbabee - Browse repository at this point
Copy the full SHA 0cbabeeView commit details -
Add Dockerfile for Java application
Introduce a Dockerfile to containerize a Java application using OpenJDK 17 on Alpine Linux. The Dockerfile copies the JAR file from the build artifacts and sets the entry point to run the application.
Configuration menu - View commit details
-
Copy full SHA for 2eb10be - Browse repository at this point
Copy the full SHA 2eb10beView commit details -
Simplify JAR file path in Dockerfile
Updated the ARG JAR_FILE to eliminate the 'api/' prefix, ensuring consistency with the copy command. Also added spacing in ENTRYPOINT for better readability.
Configuration menu - View commit details
-
Copy full SHA for 4d8c2b9 - Browse repository at this point
Copy the full SHA 4d8c2b9View commit details
Commits on Sep 15, 2024
-
Add user existence check during registration
Implemented a check to verify if a user with the same email already exists during registration. If a duplicate user is detected, a custom exception is thrown and an appropriate error message is returned to the client.
Configuration menu - View commit details
-
Copy full SHA for 7c3892f - Browse repository at this point
Copy the full SHA 7c3892fView commit details -
Add food-app service and set Docker Compose version to 3.8
Updated the docker-compose.yml to use version 3.8. Added a new service named 'food-app' with its necessary configuration, including environment variables, ports, networks, dependencies, and restart policy.
Configuration menu - View commit details
-
Copy full SHA for 9a6a605 - Browse repository at this point
Copy the full SHA 9a6a605View commit details -
Add logging functionality to the authentication service
Integrated the `@Slf4j` annotation to enable logging in `AuthenticationService.java` and `SecurityApplication.java`. Logging now captures user existence checks and registration token creation, replacing print statements with log entries.
Configuration menu - View commit details
-
Copy full SHA for b77aee4 - Browse repository at this point
Copy the full SHA b77aee4View commit details -
Update version to 0.0.2-SNAPSHOT and add logging for user creation
Updated project version in pom.xml to 0.0.2-SNAPSHOT. Added logs to indicate the creation of 'Admin' and 'Manager' users in SecurityApplication.java. Corrected the manager's first and last name in the registration request.
Configuration menu - View commit details
-
Copy full SHA for 230a48e - Browse repository at this point
Copy the full SHA 230a48eView commit details
Commits on Sep 18, 2024
-
Set user role to USER during registration
Updated the `register` method in `AuthenticationController` to set the user role to `USER` by default. This ensures that all new users are assigned the `USER` role upon registration.
Configuration menu - View commit details
-
Copy full SHA for 9079ddf - Browse repository at this point
Copy the full SHA 9079ddfView commit details
Commits on Oct 14, 2024
-
Add CorsConfig class to handle CORS settings
This commit introduces a new CorsConfig class to manage Cross-Origin Resource Sharing (CORS) settings. It allows credentials, supports all headers and methods, and specifically allows requests from "http://localhost:3000". This enhances security and flexibility in handling CORS requests.
Configuration menu - View commit details
-
Copy full SHA for 07a97c8 - Browse repository at this point
Copy the full SHA 07a97c8View commit details