Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Screenshots
![img.png](img.png)
![img_1.png](img_1.png)



# JAVA Cloud AWS - Day One

## Learning Objectives
Expand Down
Binary file added img.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img_1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion todo-backend/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ plugins {
}

group = 'com.booleanuk'
version = '0.0.2'
version = '0.0.5'

java {
toolchain {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
package com.booleanuk.TodoApp.controllers;

import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@CrossOrigin
@RestController
@RequestMapping("/")
public class HomeController {
@GetMapping
public String get() {
return "Please go to the /todos endpoint";
}
}
3 changes: 0 additions & 3 deletions todo-frontend/.example.env

This file was deleted.

2 changes: 1 addition & 1 deletion todo-frontend/src/consts.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import "react";

const url = import.meta.env.API_ENDPOINT_URL || "http://localhost:5168";
const url = "http://davesothertodos-env.eba-vkrtpjci.eu-west-1.elasticbeanstalk.com/";
// ensure trailing / is removed
export const API_URL = url.replace(/\/$/, "");