Skip to content

the-az-dev/MyKowelAPI

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

113 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

My Kowel API

The My Kowel API is one of the main parts of the overall My Kowel project. This API contains important business logic that makes it possible to ensure the stable operation of the entire project system.

How to use this API

If you want to use this API in your application you need to fetch code to your server(local or remote):

> git clone https://github.com/off-the-az/MyKowelAPI.git

Next, you need to install MyKowelAPI project dependencies:

> ./mvnw install

After you have installed you need to run following project:

> ./mvnw spring-boot:run

REMEMBER: You need to setup configuration in application.properties using the following example in application.properties.example file.

After setup and configure you can use the following API in your application!) Enjoy!)

Basic API endpoint:

This API implements all possible options for requests that allow you to organize stable functionality of the project, such as - GET, POST, PUT, DELETE.

The following links allow you to work with database information:

- User`s data:
    - [GET] http://mykowel.pp.ua:8000/user/get
    - [UPDATE] http://mykowel.pp.ua:8000/user/update
    - [DELETE] http://mykowel.pp.ua:8000/user/delete

    For Authorization:
    - [POST] http://mykowel.pp.ua:8000/login
    - [POST] http://mykowel.pp.ua:8000/logout
    - [POST] http://mykowel.pp.ua:8000/register
    - [POST] http://mykowel.pp.ua:8000/reset-request

- Contact`s data
    - [GET] http://mykowel.pp.ua:8000/contacts/get
    - [GET] http://mykowel.pp.ua:8000/contacts/get/owner/?value=
    - [GET] http://mykowel.pp.ua:8000/contacts/get/id/?value=
    - [POST] http://mykowel.pp.ua:8000/contacts/add
    - [PUT] http://mykowel.pp.ua:8000/contacts/update
    - [DELETE] http://mykowel.pp.ua:8000/contacts/delete

- Event`s data
    - [GET] http://mykowel.pp.ua:8000/events/get
    - [POST] http://mykowel.pp.ua:8000/events/add
    - [DELETE] http://mykowel.pp.ua:8000/events/delete

-  Market`s data
    - [GET] http://mykowel.pp.ua:8000/market/get
    - [GET] http://mykowel.pp.ua:8000/market/get/title/?value=
    - [GET] http://mykowel.pp.ua:8000/market/get/category/?value=
    - [GET] http://mykowel.pp.ua:8000/market/get/username/?value=
    - [POST] http://mykowel.pp.ua:8000/market/add
    - [PUT] http://mykowel.pp.ua:8000/market/update
    - [DELETE] http://mykowel.pp.ua:8000/market/delete

For more information and examples check - MK API Documentation

About

API based on Java for MyKowel project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 81.6%
  • HTML 18.3%
  • Shell 0.1%