Skip to content

shahdinesh/spring_angular

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Springboot and angular10 Demo App

Springboot

Copy springboot config file before running program.

cp newboot/src/main/resources/application.properties.example newboot/src/main/resources/application.properties

Api Lists

  • /authenticate [METHOD: POST] (Login api)
  • /orders [METHOD: GET] (List of all user orders)
  • /orders/markPaid/{id} [METHOD: GET] (Marks order as paid)
  • /orders/placeOrder [METHOD: POST] (Places order)

Angular

This demo app contains two roles.

  • Store owner
    • Can list user orders
    • Can mark them as paid
  • Normal user
    • Can place order

Credential

  • admin user
    • username: dinesh
    • password: admin
  • normal user
    • username: test or sample
    • password: admin

Note: Admin role is hardcoded to username dinesh.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published