This application handles the CRUD functionalities of meetings. The Spring project Contains a rest server configured with mongoDB.
curl -i -X POST -H "Content-Type:application/json" -d "{\"title\":\"1on1\",\"participants\":[{\"username\":\"user1\",\"name\":\"people\"},{\"username\":\"user2\",\"name\":\"people2\"}],\"plannedDate\":1630945253743,\"description\":\"meeting\",\"location\":\"zoom\"}" http://localhost:8080/meetings
curl -i -H "X-AUTHENTICATED-USER:user1" -H "Content-Type:application/json" http://localhost:8080/meetings
curl -i -H "Content-Type:application/json" -H "X-AUTHENTICATED-USER:user1" http://localhost:8080/meetings/{meetingId}
Gets all meetings with the selected state. The state is boolean true means closed.
curl -i -H "X-AUTHENTICATED-USER:user1" -H "Content-Type:application/json" http://localhost:8080/meetings/state/{closed}
curl -i -X PUT -H "X-AUTHENTICATED-USER:user1" -H "Content-Type:application/json" -d "{\"title\":\"1on1\",\"participants\":[{\"username\":\"user1\",\"name\":\"people\"},{\"username\":\"user2\",\"name\":\"people3\"}],\"plannedDate\":1630945253843,\"description\":\"meeting\",\"location\":\"teams\"}" http://localhost:8080/meetings
curl -i -X DELETE -H "X-AUTHENTICATED-USER:user1" -H "Content-Type:application/json" http://localhost:8080/meetings/{meetingId}