after building a rest and a mvc i decided to combine those two here down find the description these are exercises and way of understanding concept
building my own Api from scratch
The aim of the project is to create a distributed system that uses REST API for communication between system components in any technology (i used PHP).
SYSTEM DESCRIPTION:
The online auction system should enable users to list and bid on items in various categories. All data should be stored in a permanent manner (XML, database). When designing and implementing, the MVC or equivalent model must be strictly adhered to.
- Create a REST API that allows you to support users:
a. Adding a user
b. Editing a user
c. Deleting a User
d. Retrieving user information
- Create a REST API that allows you to handle auctions:
a. Adding an item to an auction
b. Editing an item for bidding
c. Removing an item from the auction
d. Downloading information about the item at the auction
-
Create a REST API that will allow you to make a payment for the auctioned item - in this case, use the sanbox of the selected payment operator
-
Create an interface that allows you to conduct auctions in the selected technology
The functionalities listed with individual tasks are only illustrative and do not constitute full functionality
there were the requirements and we tried to solve it
for the api to work properly , the main folder must have Qwerty as name and inside this folder opern another one named : nextbid-auction-website-main where you can deploy all files and run it properly or modify the directory of the api file in your code
Realisation: Online Auction System Technology: PHP, JS/Database
Project Objective: Developed a distributed online auction system utilizing a REST API for communication between system components, adhering strictly to the MVC model.
Key Responsibilities:
REST API Development:
Designed and implemented a RESTful API from scratch to manage users and auctions. Created endpoints for adding, editing, deleting, and retrieving user information. Developed endpoints for auction management, including adding, editing, removing, and retrieving auction items. Data Persistence:
Implemented data storage using databases to ensure data integrity and reliability. Payment Integration:
Integrated a sandbox payment operator to handle secure transactions for auctioned items. User Interface Creation:
Developed a user-friendly interface for conducting auctions, enabling seamless interaction with the back-end API. Skills and Knowledge Gained:
REST API Design and Implementation:
Gained a deep understanding of REST principles such as statelessness, client-server architecture, and resource representation. MVC Architecture:
Enhanced ability to separate concerns within the application, leading to better code organization and scalability. Distributed System Design:
Learned to design and manage a distributed system where components interact through APIs. User and Auction Management:
Acquired practical experience in implementing CRUD operations and handling complex business logic. Secure Payment Processing:
Gained experience in integrating and managing secure financial transactions. Full-Stack Development:
Developed a comprehensive understanding of both back-end and front-end development. Technologies Used: PHP, JS, Database, REST API, MVC, Payment Integration (paypal)