Skip to content

andrt2607/ams_server_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

76 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asset Management System REST API

A RESTful API example for asset management system using java spring boot (java 8) (project metrodata coding camp)

ams_server_app

Build Status Coverage Status License

Template Spring Boot sample app.

Requirements

For building and running the application you need:

Running the application locally

There are several ways to run a Spring Boot application on your local machine. One way is to execute the main method in the de.codecentric.springbootsample.Application class from your IDE.

Alternatively you can use the Spring Boot Maven plugin like so:

mvn spring-boot:run

## Structure

├── java-app │   ├── config // Configuration Web Security │   ├── controllers // Our API core handlers │   ├── exceptions // custom handling exceptions │   ├── models // entity model │   ├── repos // jparepository │   ├── services // services each function from endpoint │   └── utils // class helper └── resources


## API

#### /v1/emp/rentAsset
* `POST` : create rent request

#### /v1/history/review_rent/:id
* `PUT` : review rent request (approved/denied)

#### /v1/asset
* `POST` : create submission asset

#### /v1/asset/review_asset/:id
* `GET` : review submission asset (approved/denied)

#### /v1/report/:id
* `PUT` : create report

## Todo

- [x] Support basic REST APIs.
- [x] Support Authentication with user for securing the APIs.
- [ ] Make convenient wrappers for creating API handlers.
- [ ] Write the tests for all APIs.
- [x] Organize the code with packages
- [ ] Building a deployment process 

About

Server App Kelompok 2 MCC Segmen 4

Resources

Stars

Watchers

Forks

Packages

No packages published