/workshop-spring-data-cassandra

Build a Todolist with Spring Data Cassandra

Primary LanguageJava

Hands-On Spring Data Cassandra

Gitpod ready-to-code License Apache2 Discord

Today we will develop the famous TodoApplication backend with a storage in Apache Cassandra™ with Spring Boot and Spring Data

SplashScreen

ℹ️ Information
-----------------

💻 There is nothing preventing you from running the workshop on your own laptop. 
 
If you do so, you will need 
- Maven
- A JavaIDE like VSCode, IntelliJ, Eclipse or Spring STS
- Curl.
 
You will have to adapt commands and paths based on your environment and 
install the dependencies by yourself. We won't provide support during the live to
keep the schedule.

1. Launch Gitpod

Gitpod is an IDE 100% online based on Eclipse Theia. To initialize your environment simply click on the button below (CTRL + Click to open in new tab) You will be asked for you github account.

Open in Gitpod

👁️ Expected output

The screenshot may be slightly different based on your default skin and a few edits in the read me.

TodoBackendClient

You can be asked to import the project, please accept to have java features enabled for you project.

TodoBackendClient

That's it. Gitpod provides all tools we will need today including Maven and exporting port 8080. At initialization of the workspace we schedule a mvn clean install to download dependencies.

Also you may have noticed there is a build happening - even before we get started. The sample project already exists and loading the developer enviroment triggers a build to download all the maven dependencies so you don't have to.

2. Know your gitpod

The workshop application has opened with an ephemeral URL. To know the URL where your application endpoint will be exposed you can run the following command in the terminal:

gp url 8080

👁️ Expected output

TodoBackendClient

🚀 Let's get starting

To move to branch PART1, in a terminal use the following command.

  • You should read the instructions in gitpod now as moving to the next branch will update this README with the new instructions.

  • When you move from one branch to another using checkout you will have the workspace populated with the solution. Your local changes will be lost.

git checkout PART1