From 739583c3caa992a4a3089f5797fe659304386762 Mon Sep 17 00:00:00 2001 From: Lorenzo Drudi Date: Fri, 24 Jun 2022 12:37:36 +0200 Subject: [PATCH] Update README.md --- README.md | 59 +++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 57 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index d5b2bf0..fe52799 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,13 @@ +[![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0) + +[![image](https://img.shields.io/badge/Java-ED8B00?style=for-the-badge&logo=java&logoColor=white)](https://www.java.com/com/) +![image](https://img.shields.io/badge/HTML5-E34F26?style=for-the-badge&logo=html5&logoColor=white) +![image](https://img.shields.io/badge/CSS3-1572B6?style=for-the-badge&logo=css3&logoColor=white) + +[![image](https://img.shields.io/badge/Spring-6DB33F?style=for-the-badge&logo=spring&logoColor=white)](https://spring.io/) +[![image](https://img.shields.io/badge/Spring_Boot-F2F4F9?style=for-the-badge&logo=spring-boot)](https://spring.io/projects/spring-boot) +[![image](https://img.shields.io/badge/gradle-02303A?style=for-the-badge&logo=gradle&logoColor=white)](https://gradle.org/) + # Portify Portfolio-maker made for the @MLH Orientation Hackaton @@ -29,15 +39,60 @@ Portfolio-maker made for the @MLH Orientation Hackaton **Technologies used for the backend:** + 🛠️ Java + 🛠️ Spring Data + + 🛠️ Java Persistence API + + 🛠️ MySQL **How to use:** +First of all clone the repo: + +```bash +git clone git@github.com:LorenzoDrudi/Portify.git +``` +Now you have to do a few steps: + +-Create the db with the [sql script](database/createDB.sql) + +-Use your DB credentials [here](src/main/resources/application.properties) + +You can then run it on linux or mac-os with: + +```bash +cd Portify +./gradlew bootRun +``` + +If you are on Windows you can use: + +```ps +cd Portify +gradlew.bat bootRun +``` +You can also use an IDE such as IntelliJ or Eclipse to do that. + +Once you've done that open you're browser and: +- To insert a user type: +```ps +http://localhost:8080/createpage +``` +- To see a user page type: +```ps +http://localhost:8080/page?name={insert here the name of the user} +``` +- To see a random user page: +```ps +http://localhost:8080/page +``` **Authors:** -Celina Cywinska - https://github.com/cellinacywinska +[Celina Cywinska](https://github.com/cellinacywinska) -Lorenzo Drudi - https://github.com/LorenzoDrudi +[Lorenzo Drudi](https://github.com/LorenzoDrudi)