API to create , get , update and delete tours and also with users and reviews , backend api with all authentications , authorizations and security.
-
start API
-
Content of API
- Tours (create , get , update , delete)
- users (create , get , update , delete)
- reviews (create , get , update , delete)
-
these are for user resources
- API support authentications , authorizations and security and you can
- change password with 2 routes (changePassword , forgotPassword)
- get user data (information account)
-
these are for user resources
- get monthly plan
- get tour within specifis distance
- make fields , limit , pagination , etc.....
- use any logical oerations but look at documentation to understand how to use API
-
these are for reviews resources
- get review on specific tour
- make review on specific tour
- all staff for reviews
{
"startLocation" : {
"type" : "Point",
"coordinates" : [15,15],
"address" : "EGYPT",
"description" : "hello from EGYPT"
},
"name" : "test test test test test test",
"duration" : 5,
"ratingsAverage" : 5,
"maxGroupSize" : 15,
"difficulty" : "easy",
"price" : 500,
"locations" : [
{
"coordinates" : [5,5]
}
],
"imageCover" : "png.png",
"summary" : "test",
"guides" : [
"6706ed7c82d7532034c08d82",
"6706ed8682d7532034c08d84"
]
}
{
"startLocation" : {
"type" : "Point",
"coordinates" : [15,15],
"address" : "EGYPT",
"description" : "hello from EGYPT"
},
"name" : "test test test test test test",
"duration" : 5,
"ratingsAverage" : 5,
"maxGroupSize" : 15,
"difficulty" : "easy",
"price" : 500,
"locations" : [
{
"coordinates" : [5,5]
}
],
"imageCover" : "png.png",
"summary" : "test",
"guides" : [
"6706ed7c82d7532034c08d82",
"6706ed8682d7532034c08d84"
]
}
{
"name" : "kareem9",
"email" : "hello@kareem99999.io",
"password" : "test1234",
"passwordConfirm" : "test1234",
"role" : "user"
}
{
"email" : "admin@natours.io",
"password" : ".........."
}
{
"email" : "hello@kareem.io"
}
Natour.ioapi/v1/users/resetPassword/f95e343329a31f3b81af15d455fc07929c7dc1d57be4175ff56a1f1e4339ac30
{
"password" : "123456kareem",
"passwordConfirm" : "123456kareem"
}
{
"review" : "amazing!",
"rating" : 5,
"tour" : "6706f083d1888357882ab93d",
"user" : "6706ed8682d7532034c08d84"
}
{
"rating" : 4,
"review" : "amazing tour !"
}
- start API