Skip to content

lapc18/contacts-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Spring Boot API for Contacts

Documentation

For further reference, please consider the following sections:

Guides

The following guides illustrate how to use some features concretely:

Endpoints on Heroku

The following endpoints are working on heroku, you can consume it with your own app or Postman:

Base link

Endpoints

  • /api/auth/register => [POST]
    • send request body: {"name": "your name", "lastName": "your lastName", "email": "your@email.com", "pwd": "your strong password", "profile": "base64 img"}
  • /api/auth/login => [POST]
    • send request body: {"email": "your@email.com", "pwd": "your strong password"}
  • /api/contacts/{email} => [GET]
  • /api/contacts/{email} => [POST]
    • send request body: {"profile": "your base64 image", "firstName":"your firstName", "lastName":"your lastName", "nickName":"your nickName", "email":"your@email.com", "phoneNumber": "1234567890", "website":"your.website", "relationship":"your relationship", "notes": "write some notes here..."}
  • /api/contacts/{email} => [PUT]
    • send request body: {"profile": "your base64 image", "firstName":"your firstName", "lastName":"your lastName", "nickName":"your nickName", "email":"your@email.com", "phoneNumber": "1234567890", "website":"your.website", "relationship":"your relationship", "notes": "write some notes here..."}
  • /api/contacts/delete/{id} => [DELETE]

About

Java Spring Boot REST Api to Contacts Angular App

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages