Skip to content

theranjitkumar/springBootRestApi

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spring Boot Web App

Go live

got to h2-console:

h2-console

To manage inmemory sql database

api's:

api url: /api/users

create user to login:

create table user
(
id integer not null,
username varchar(255) not null,
email varchar(255) not null,
password varchar(255) not null,
primary key(id)
);

insert a dummy user data:

insert into user values(101, "[email protected]", "test", "test" );

maven cmd

To run:     ./mvnw spring-boot:run
To clean:   ./mvnw clean
To package: ./mvnw clean package