Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tiny-rest-task

How to start

  1. Clone the repo

  2. Create Mysql database:

create database user_database

  1. Change username and password:

open application.properties,

change spring.datasource.username and spring.datasource.password and url to yours database

  1. Build and run the app with your favorite IDE or with maven. The app will start running at http://localhost:8080.

The app defines following CRUD APIs:

GET: 
  /users
  /users/{id}
  /users/searchbyname/{name}
  /users/{id}/phonebook
  /contacts/{contactId}

POST: 
  /users
  /contacts

PUT: 
  /users/{id}
  /contacts/{contactId}

:DELETE 
/users/{id}
/contacts/{contactId}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages