Giter VIP home page Giter VIP logo

microblog's Introduction

Microblog

Microblog is a simple microblogging web application written in Java with Spring MVC. This app uses the following frameworks/technologies:

  • Spring MVC 4.2.1
  • Spring Security 4.0.2
  • Spring Data JPA 1.8.2
  • PostgreSQL 9.4
  • Hibernate Validator 5.2.1
  • Thymeleaf 2.1.5
  • Twitter Bootstrap 3
  • JUnit 4.11
  • Mockito 1.10.19

How to build

The following tools are required:

  • JDK 1.8 or later
  • Apache Maven
  • Apache Tomcat or other servlet container

All Spring configuration classes are located in me.molchanoff.microblog.config package. You can change database connection options and access credentials in RootConfig class.

To build this app you have to run this in your console:

mvn package

After the build was successful, you should see a Microblog.war file inside newly created target subdirectory. In order to deploy this app, you have to refer corresponding documentation of your servlet container/application server.

Note: This app uses Spring profiles for database connection:

  • default - uses embedded H2 database
  • production - uses PostgreSQL database
  • test - uses embedded H2 database with test data testdata.sql script (for unit tests)

The active profile is specified in spring.profiles.active property in config.properties file. If no environment variable was specified, default profile is used.

microblog's People

Contributors

radionoise avatar

Stargazers

 avatar

Watchers

 avatar

Forkers

demitriy

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.