In This Project I have created RESTFUL API server that wil connect to our ClientChat Web App from the last project that call "WebClient".
The arguments that you'll need to enter for login will be the same as the last project.
The uniqueness of this project is that we can control on the static Web App with new server that can make the App to be Dynamic as it should.
In the chat you can interact and send only text masseges but only via the server API requests.
After you download all the files you can run the App on Your broswer
if you want to Register
you will need to enter the names from tha array below:
- User Name (should include 4 Characters)
users = [
Id = 1, Name = "bobby", Server = "localhost:7266", Last = "i know what you did last summer", LastDate = 22
Id = 2, Name = "alice", Server = "localhost7266", Last = "hi how are you", LastDate = 33
for each action that you'll want to make there is an API request that sends the request from the server directly to the broswer
**few examples:
for the -/api/contacts - you'll get all the users list ///GET
for the - /api/contacts- you'll add a new user to the users list list //POST
for the -/api/contacts/id - you'll get only one user details ///GET
**and so on...
**you can delete a user and edit his details as the photos below
for the -/api/contacts/id - you'll get only one user details (you can see that alice id is 2 and the name has changed) //PUT
for the -/api/contacts/id - you'll be able to delet the user from the users lists //DELETE
In This Project I have used c#,js,HTML,bootsrap and CSS.