Official web application of Cybros.
Nodejs, mongodb
$ git clone https://github.com/Cybros/Cybros-Web-Application.git
$ cd Cybros-Web-Application
$ npm install
open in new terminal window
$ mongod
After configuring database server type code given below in terminal window(other than the one in which mongod server is running)
$ npm start
you must get something like this
$ Magic happens in port:3000
Then go to http://localhost:3000/
Go to mongo terminal by typing
$ mongo
Then use database named "Cybros", in this all the user's data is saved in the collection named "users".
OR if you want to generate a ".csv" file use:
$ mongoexport --host localhost --db Cybros --collection users --csv --out text.csv --fields username,Password,Email
Go to mongo terminal by typing
$ mongo
Now you have to insert an admin data mannually in mongoDB and make sure you make "HasAccess" set to "true" as it is "false" by default
db.admins.insert({username:YOURUSERNAME, Password:YOURPASSWORD, Hasaccess:true});
Admin panel can be accessed from: http://localhost:3000/admin/
Just open an issue with your suggestion.
This project is licensed under the MIT License - see the LICENSE.md file for details