package com.example.demo.controller;

import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/api/project")
public class ProjectController {
	

	
	// getProjects
	// createProject
	// deleteProject
	
	@GetMapping("/projects")
	public String loadAllProjects() {
		return "TODO load all projects";
	}
	
	@PostMapping("/projects")
	public String createProject() {
		return "TODO create project";
	}
	
	@DeleteMapping("/projects/{id}")
	public String deleteProject() {
		return "TODO delete project";
	}

}
