https://github.com/datastaxdevs/workshop-spring-data-cassandra
Build a Todolist with Spring Data Cassandra
https://github.com/datastaxdevs/workshop-spring-data-cassandra
Last synced: 10 months ago
JSON representation
Build a Todolist with Spring Data Cassandra
- Host: GitHub
- URL: https://github.com/datastaxdevs/workshop-spring-data-cassandra
- Owner: datastaxdevs
- Created: 2020-12-10T13:39:20.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2023-05-17T10:54:46.000Z (over 2 years ago)
- Last Synced: 2023-05-17T11:27:49.013Z (over 2 years ago)
- Language: Java
- Size: 8.93 MB
- Stars: 36
- Watchers: 10
- Forks: 31
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# Hands-On Spring Data Cassandra
[](https://gitpod.io/#https://github.com/DataStax-Academy/workshop-spring-data-cassandra)
[](http://www.apache.org/licenses/LICENSE-2.0)
[](https://discord.com/widget?id=685554030159593522&theme=dark)
Today we will develop the famous TodoApplication backend with a storage in **Apache Cassandra™** with **Spring Boot** and **Spring Data**

```
ℹ️ 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](https://www.gitpod.io/) is an IDE 100% online based on VSCode. 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.
[](https://gitpod.io/#https://github.com/DataStax-Academy/workshop-spring-data-cassandra)
**👁️ Expected output**
*The screenshot may be slightly different based on your default skin and a few edits in the read me.*

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

**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:
```bash
gp url 8080
```
**👁️ Expected output**

🚀 **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.
```bash
git checkout PART1
```