Code Monkey home page Code Monkey logo

simple-spring-backend's Introduction

Simple-Spring-Backend

This is a simple rest server that uses the following technologies: Spring Boot, Spring Security, Spring Data JPA, Docker, Springdoc.

Frontend for the application is here simple-angular-frontend.

Springdoc

Actuator

Docker

Docker repository

Run the application in docker:

docker pull scimbosh/simple_spring_backend:simple_spring_backend-1.0.0
docker run -p 8080:8080 --name simple-spring-backend --pull missing scimbosh/simple_spring_backend:simple_spring_backend-1.0.0

Versions:

  • JDK 17.0.8
  • Kotlin 1.8 (1.8.22)
  • Gradle 8.2.1

Table of users:

CREATE TABLE IF NOT EXISTS public.users
(
    id bigint PRIMARY KEY  NOT NULL DEFAULT nextval('users_seq'::regclass),
    username character varying(100) COLLATE pg_catalog."default" NOT null UNIQUE,
    password character varying(100) COLLATE pg_catalog."default" NOT NULL,
	roles character varying[] COLLATE pg_catalog."default" NOT NULL
)

TABLESPACE pg_default;

ALTER TABLE IF EXISTS public.users
    OWNER to postgres;

Table of todos:

CREATE TABLE IF NOT EXISTS public.todos
(
    id integer PRIMARY KEY NOT NULL DEFAULT nextval('todos_seq'::regclass),
	userid bigint NOT NULL,
    username character varying(100),
    content character varying(1000) COLLATE pg_catalog."default",
    checked boolean
)

TABLESPACE pg_default;

ALTER TABLE IF EXISTS public.todos
    OWNER to postgres;

simple-spring-backend's People

Contributors

scimbosh avatar

Stargazers

Nikolay Kirillov 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.