Coder Social home page Coder Social logo

blogit's Introduction

BlogIT

Simple responsive blog about IT. I used Spring Framework, Spring Boot, Hibernate, Thymeleaf, Bootstrap, MySQL local database. For security I used Spring Security, and SSL connection for registering and log in. In database stored are hashed password.

Getting Started

If you want deploy app in your localhost, you have to specify Database url, password and username. I used MySQL, but you can use any other database, but you have to import connector dependency to pom.xml, and specify it in application.properties. Other thing you have to do, it's specify your SSL, or disable SSL in BlogIT, you can to do this in application.properties. Your own SSL for test you can generate using keytool.

Sample application.properties

spring.jpa.database=mysql                                   - your database type
spring.jpa.show-sql=true
spring.datasource.url=jdbc:mysql://localhost:3306/blogdb    - your database url
spring.datasource.username=root                             - your database username
spring.datasource.password=12345678                         - your database password
spring.datasource.driver-class-name=com.mysql.jdbc.Driver   - classpath to database controller
spring.session.store-type=none
spring.jpa.generate-ddl=true                                - autogenerate database schema when value is true
spring.thymeleaf.cache=false
http.port=80
server.port=443                                             - https port
server.ssl.enabled=true                                  
server.ssl.key-store=c:/keystore.p12                        - your path to your own SSL
server.ssl.key-password=pass                                - password to your SSL key
server.ssl.key-alias=tomcat
server.ssl.key-store-type=PKCS12  
server.ssl.key-store-password=pass

Running BlogIT locally

git clone https://github.com/malinowskij/BlogIT.git
cd BlogIT
./mvnw spring-boot:run

A few examples of use BlogIT

Main Page

main page

Post view

post view

User view for admin

userr view for admin

Responsive example

rsponsive

Author

Jakub Malinowski

blogit's People

Contributors

malinowskij avatar

Stargazers

 avatar  avatar

Watchers

James Cloos avatar  avatar  avatar

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.