Alireza Asghari's repositories
csv-viewer
Agility Kata CSV Viewer
cypress-tutorial-build-todo-starter
Starter project for the Cypress tutorial in which we build and test a todo app
doctor-house-hospital
Project Dr. House Hospital - administration, diagnoses, prescriptions and billing
hackathon-2019
Useful material for the Hackathon
objectorientedprogramming-template
Template for the Object Oriented Programming training
kotlin-koans
Kotlin workshop
mp10-phone-book-person-and-address-one-to-one
The PhoneBook app will have an endpoint /contacts where you can post new contacts. A get request to /contacts shows all of them. Internally, the app will connect to a Sql database like MySQL and have one entity called Person and another one called Address. They are both connected with a one to one relationship. The Address will be saved in the database as a cascade operation from the Person repository.
mp11-pirates-of-the-code-bean-3
The application will read from a csv file a collection of pirates with their respective pieces of eight. The relation between Pirate and Piece of Eight is a one to one. When the app is started, the pirates and the pieces of eight will be stored in the database if they are not already there. The right Piece of Eight will be assigned to the right Pirate. The app will have an endpoint called /pirates that will display all pirates if receives a get request.
mp12-social-network-Fakebook
The app will have an entity called Person that can be managed through the /persons endpoint. Post will add a person, get will show all of them. In order to friend one person with another, we will send a put operation to the endpoint /persons/{id1}/friend/{id2} will be used. In order to unfriend we will send another put operation to the endpoint /persons/{id1}/unfriend/{id2}.
mp13-the-magic-8-ball
The Magic 8-Ball app is a Thymeleaf Web application that will display the random messages of the famous 8-Ball on a simple HTML5 page when a get request arrives to the “/” url. Refreshing the page will make it display another random message from a list of them that can be hardcoded in the Controller.
mp15-pirates-of-the-code-bean-4
Application that has to fulfill certain steps of the fountain of youth in order to get immortality: find mermaid, get her tears, find challice, drink the tear from the chalice.
mp16-my-personal-todo-list-ui
Provide an additional application to the ToDo project. This Ui will display in one single page the list of all the ToDos with one button where we can mark them as “done”. In this page we will also be able to write new ToDos one by one in a text box and post them with one button.
mp17-the-thieves-den
The Thieves Den web application has one single page displaying all the treasures that the thievery organization has been robbing for decades. However, its access is not that easy, for it is secured tightly and it won’t be shown unless the user “alibaba” logs in with the password “open sesame”.
mp18-hotel-room-safe
The Hotel Room Safe application has one page that shows the belongings of the customer of that room. This page can only be accessed with one html login page where the customer can write the credentials with the username as “guest” and the password as “secret”. The application must provide its own implementation of the login form and encrypt the password of the in memory user details manager with the bcrypt password encoding algorithm.
mp6-the-three-cup-shuffle
Implement the three cup shuffle game with one Cup application replicated three times and one Trickster that hosts the game. A third application with a UI will be provided to connect it to the endpoints of the Trickster. The Trickster will have the following endpoints: /play starts a new game, removes the coin from the Cups and hides one in one of them at random; /choose/{number} chooses one of the Cups and returns whether we guessed right.
mp7-pirates-of-the-code-bean-2
Jack Sparrow must talk with the voodoo priestess Tia Dalma to find out where the Dutchman is. Once he has its location, he will find the Dead Man’s Chest and say what he found inside. The Jack Sparrow app must send a get request to Tia Dalma’s /dutchman endpoint. It will then receive the URL of the Dutchman’s app. Once recovered, Jack Sparrow will perform a get request to the Dutchman’s /deadmanschest endpoint to obtain it and display a string that will be stored within.
mp9-my-personal-todo-list-no-sql-mongo-db
The ToDo application has an endpoint /todos where we can post our ToDo objects. A ToDo object contains the id, one string representing our tasks for us to do later and a boolean that says whether it is done or not. We can always see them if you make a get request to /todos. In order to see a particular ToDo we will do a get request to /todos/{id}. And if we want to mark a ToDo as done we will post to /todos/{id}/done. This application will connect to a MongoDB in a local environment or also in a hosted instance in the cloud with a given username and password.
sfg-di
Dependency Injection Examples
sfg-pet-clinic
SFT Pet Clinic
spring-petclinic
A sample Spring-based application
spring5-jokes-app
Jokes App for my Spring 5 Course
spring5-recipe-app
spring5-recipe-app
spring5webapp
Example Spring 5 Web Application
trivia
Legacy Code Retreat - Trivia Game codebase
tutorials
The "REST With Spring" Course: