Code Monkey home page Code Monkey logo

poseidoninc's Introduction

spring-boot

Technical:

  1. Framework: Spring Boot v2.0.4
  2. Java 8
  3. Thymeleaf
  4. Bootstrap v.4.3.1

Setup with Intellij IDE

  1. Create project from Initializr: File > New > project > Spring Initializr
  2. Add lib repository into pom.xml
  3. Add folders
    • Source root: src/main/java
    • View: src/main/resources
    • Static: src/main/resource/static
  4. Create database with name "demo" as configuration in application.properties
  5. Run sql script to create table doc/data.sql

Implement a Feature

  1. Create mapping domain class and place in package com.nnk.springboot.domain
  2. Create repository class and place in package com.nnk.springboot.repositories
  3. Create controller class and place in package com.nnk.springboot.controllers
  4. Create view files and place in src/main/resource/templates

Write Unit Test

  1. Create unit test and place in package com.nnk.springboot in folder test > java

Security

  1. Create user service to load user from database and place in package com.nnk.springboot.services
  2. Add configuration class and place in package com.nnk.springboot.config

poseidoninc's People

Contributors

dalekununium avatar

Watchers

 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.