Backend of online Management where customer can buy plants, seeds.Nursery Plant Management Nursery store REST API, where customer can shop for plants, add it into their cart and place orders and on the other hand nursery store owners can add plants into their store and check for customer orders.Backend of online Management where customer can buy plants, seeds.
@ Service Layers, Data Access Layers to generate different end points. Features:
4. collaborative project built by a team of 4, delivered in 4 days.
- We have developed this REST API for an Nursery Plant Management. This API performs all the fundamental CRUD operations of any Online ordering plant with user validation at every step.
- This project is developed by team of 4 Back-end Developers during project week in Masai School.
- Java
- Spring Framework
- Spring Boot
- Spring Data JPA
- Hibernate
- MySQL
- Login, Logout Module
- Customer Module
- Admin Module
- Plant Module
- Seed Module
- Planter Module
- Customer and Admin authentication & validation with session uuid having.
- Admin Features:
- Administrator Role of the entire application
- Only registered admins with valid session token can add/update/delete Planter, plant and seed from main database
- Admin can access the details of different customers, planter.
- Customer Features:
- Registering themselves with application, and logging in to get the valid session token
- Viewing list of available plant and seed.
- Only logged in user can access his order, profile updation and other features.
-
Before running the API server, you should update the database config inside the application.properties file.
-
Update the port number, username and password as per your local database config.
server.port=8880 spring.datasource.url=jdbc:mysql://localhost:3306/sb201db; spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver spring.datasource.username=root spring.datasource.password=root
https://localhost:8880/
http://localhost:8880/swagger-ui.html
POST /admin/signup
: Register a new admin with proper data validation and admin sessionPOST /admin/login
: Admin can login with mobile number and password provided at the time of registationPOST /admin/logout
: Logging out admin based on session tokenPOST /admin/addplanter
:add planter with proper validation.DELETE /admin/deleteplanter
: delete planter.GET /admin/updateplanter
:Update Planter by idGET /admin/viewAllPlanters
: Get list of all the plantersGET /admin/viewPlanterById
:Get Planter by Planter Id./viewplantersByMinMax/{mincost}/{maxcost}
:Get min cost and max cost.
POST /user/signup
: Register a new user with proper data validation and user sessionPOST /user/login
: Admin can login with name and password provided at the time of registationPOST /user/logout
: Logging out user based on session tokenPOST /addOrder/{uuid}
: add a new order with proper data validation and customer session.POST /driver/status/{?}
: Changes the status of the driver either Online or OfflinePOST /user/update/
:Change the details of customer.DELETE /user/delteOrder
:Delete the order from database.GET /user/findorder
:Find order by id.etc..
POST localhost:8880/login
👤 Aftab Alam
-
GitHub: @TheAftabAlam
-
LinkedIn: @aftabalamsi12
👤 Ashok Anumula
-
GitHub: @Ashok Anumula
-
LinkedIn: @Ashok Anumula
👤 Pavan Bajait
-
GitHub: @Pavan Bajait
-
LinkedIn: @Pavan Bajait
👤 Pravin Nikam
-
GitHub: @Pravin Nikam
-
LinkedIn: @Pravin Nikam
Footer © 2022 GitHub, Inc. Footer navigation Terms Privacy Security Status Docs Contact GitHub Pricing API Training Blog About Payment-Wallet-Application/README.md at main.