-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from jdhruv1503/patch-1
Added day7 dev problem
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
## Dev Problem of the Day (03/06/2024) | ||
|
||
### Introduction to RESTful API Design | ||
|
||
Today, you should learn about RESTful APIs, which are a set of rules that allow programs to communicate with each other. RESTful APIs are widely used in web development! It's named after **Re**presentational **S**tate **T**ransfer (REST); an architectural style that defines a set of constraints to be used for creating web services. | ||
|
||
## Resources | ||
|
||
1. [AWS - What is RESTful API?](https://aws.amazon.com/what-is/restful-api/) | ||
2. [Red Hat - What is a REST API?](https://www.redhat.com/en/topics/api/what-is-a-rest-api) | ||
3. [Rest API Tutorial](https://www.restapitutorial.com/) - This tutorial will help you understand the basics of RESTful APIs, including how to design and consume them. | ||
|
||
## Tips | ||
|
||
1. First, learn about HTTP methods such as `GET`, `POST`, `PUT`, and `DELETE`. | ||
2. Understand the concept of *statelessness* in a REST API. | ||
3. Absorb the general structure and rules governing a RESTful architecure, keeping *statelessness* in mind! | ||
4. Then, practice building a simple RESTful API using a framework like Express.js or Flask, and a simple database (a local SQL server or Mongo Atlas Free Tier will work!) |