Coder Social home page Coder Social logo

Alireza Asghari's Projects

mp10-phone-book-person-and-address-one-to-one icon 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 icon 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 icon 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 icon 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 icon 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 icon 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 icon 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 icon 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.

mp5-themarathon icon mp5-themarathon

A web application that tracks the names and timings from all the runners in a marathon and offers a functionality to display the runner who made it the fastest to the finishing line. The endpoints /runners and /winner will be created. A post with a Runner to /runners will store it in the system. A get to /runners will display all of them. A get to /winner will display the winner. An app for integration testing will be provided.

mp6-the-three-cup-shuffle icon 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 icon 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 icon 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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.