Skip to content

willianlim/StudentAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

37 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

StudentAPI

๐Ÿ“š Student API.

๐Ÿ“ฅ Installation

git clone https://github.com/willianlim/StudentAPI.git

โœ Usage

GET:
http://localhost:8080/api/v1/student/
[
    {
        "id": 1,
        "name": "Alex",
        "email": "alex@gmail.com",
        "dob": "2004-01-05",
        "age": 18
    }
]

POST:
http://localhost:8080/api/v1/student/
{
    "name": "Maria",
    "email": "mariam.jamal@gmail.com",
    "dob": "2000-01-05",
    "age": 22
}

PUT:
http://localhost:8080/api/v1/student/?name=mariaaaaa
{
    "name": "mariaaaaa",
    "email": "mariam.jamal@gmail.com",
    "dob": "2000-01-05",
    "age": 22
}

DELETE:
http://localhost:8080/api/v1/student/1

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

๐Ÿ“ License