Task #488
openTask #482: BackEnd common concepts investigation
BackEnd common concepts investigation [Sơn]
100%
Description
1.What's API? Use for? And more details…
API is the method of providing application services, It can also be used to communicate between software through protocols. Sofwares do not know any logic in other sofwares api.
Purpose:
- APis enable different software systems to work together
- Public APIs are open to anyone and can be used without restrictions. Private APIs are only accessible by authorized users and may be subject to usage restrictions
2.What's Swagger?
Swagger is the documents for API
Swagger-Editor: desgin API or edit existed API
Swagger-Codegen: generate code from available config files
Swagger-UI: used to generate html, css,... files from a config file.
4. CRUD?
Create, Read, Update, Delete. This is an important parameter to interact with the database
5. Relationship between frontend, backend, database
The relationship between the frontend, backend, and database in a web application is a fundamental concept in software development. These three components work together to create a fully functional web application.
The frontend communicates with the backend through HTTP requests, typically using APIs (Application Programming Interfaces). These requests may include actions like submitting forms, fetching data, or performing user interactions.
The backend interacts with the database to read, write, and manipulate data. It uses database queries and commands to do so.
The backend is responsible for managing the connection to the database, handling data retrieval, and updating the database with the information requested by the frontend.
The database stores the application's data and enforces data integrity and consistency.
No data to display