It is an application for the organization of social plans among a group of users.
The application will allow users to create, join, rate and manage social plans, which consist of a series of consecutive activities, via console.
Three Tier
Maven
Spring-boot
Spring-data
Spring-test
Lombok
PostgreSQL
H2 Database
Log4j
Dependency injection (by Spring)
Builder (by Lombok)
Command
- Terminal: Open a terminal window.
- Edit file
.bash_profile
if you use Bash or.zshrc
if you use Zsh
vi ~/.bash_profile # For Bash
vi ~/.zshrc # For Zsh
- Add the Environment Variable:
export DATABASE_URL=your_database_url_here
Example:
export DATABASE_URL=jdbc:mysql://localhost:3306/db
- Save the changes and close the editor. Then, run the
source
command to apply the changes to the current session:
source ~/.bash_profile # For Bash
source ~/.zshrc # For Zsh
- Open Command Prompt: Press Win + R, type cmd, and press Enter to open the Command Prompt.
- Set the Environment Variable:
setx DATABASE_URL "your_database_url_here"
- Close Command Prompt: Close the Command Prompt window after executing the command.