Skip to content

ornush/WebServer2

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WebServer Project

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:

  1. 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:

-----I have used POSTMAN APP and I recommand to use it too as well

for the -/api/contacts - you'll get all the users list ///GET

drawing

for the - /api/contacts- you'll add a new user to the users list list //POST

drawing

for the -/api/contacts/id - you'll get only one user details ///GET

drawing

**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

drawing

for the -/api/contacts/id - you'll be able to delet the user from the users lists //DELETE

drawing

you can start send your HTTP requsts from the server 😄

enjoy!

drawing


In This Project I have used c#,js,HTML,bootsrap and CSS.

writer: Orna Tapeta

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages