project3 created for 90110823-90105656
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea
db
public/static
views
.DS_Store
.gitignore
README.txt
index.js

README.txt

——————————————————————————————————————How to run——————————————————————————————————————————


At first, you should run database server:
1. make a directory for database or consider a directory for database!
2. run database server: mongod —-dbpath <DB-directory>

Next, you should run application server (index.js):
1. node index.js

finally the client can connect to the server through his browser!
the server url is “http://127.0.0.1:3000/“

Please pay attention that your browser will be asked to allow notifications appear!


——————————————————————————————————————How to run——————————————————————————————————————————
Requierments:
1. mongodb database on your system
2. mongodb module in node
3. socket.io module in node
4. express module in node
5. jade module in node

Best Regards,

Aghakhani, Abolhasani, Ezzati