Giter Club home page Giter Club logo

ex11's Introduction

README.txt

This application is a nodejs application that was developed in an Ubuntu  Linux environment.

To run:
1. cd into the ex11 folder
2. start the server with "node server.js"
3. In a web browser, go to localhost:4000/index.html

Application features
1. You can login as anyone.  Currently password verification per user is not implemented.  
This was to aid with testing and development.  After typing the desired username, click 
"Login" and you will be shown a the main screen.  On the left is the list of posts, while 
on the right is the list of users currently logged in to the server.  Each of these will 
live update for everyone logged into the system as changes are made.

2. To make a post, just type a post name, and content and click the "Add Post" button.  
The post will be shown on the poster's screen, as well as all other users who have logged 
in.  If you are unhappy with your post, you can click the remove button and it will be 
removed from the posts feed.  Any other user logged in can remove posts as well.  Posts 
are stored in memory and are lost if the server is restarted.  Posts are shown in order 
from most recent at top and oldest at the bottom always.

3. To edit a post, type the desired edit content in the areas on the top of the screen, 
just like when you are creating a post.  When you are done, instead of clicking the "add 
post" button, click the submit edit button next to the desired post that you want edited. 
The edit will replace the content of that post, as well as update the value of the user 
who submitted it to the last person who edited the post.

4. When you want to logout, just click the logout button in the upper right corner, and 
you will be shown the login screen again.  The user who logged out will also be removed 
from the users logged in list for everyone else who is still logged in.

ex11's People

Contributors

cmilius avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.