Git Product home page Git Product logo

cybros-web-application's Introduction

Cybros

DUB Join the chat

Cybros Web Application

Official web application of Cybros.

Getting Started

Prerequisites

Nodejs, mongodb

Installing

$ git clone https://github.com/Cybros/Cybros-Web-Application.git
$ cd Cybros-Web-Application
$ npm install

Configure Database server

open in new terminal window

$ mongod

Deployment

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/

Managing data

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

Create administrator

Go to mongo terminal by typing

$ mongo

Use the correct database by typing

$ use Cybros

Now you have to insert an admin data manually 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/

Built With

Contributing

Just open an issue with your suggestion.

License

This project is licensed under the MIT License - see the LICENSE.md file for details

cybros-web-application's People

Contributors

actuallyjamez avatar bharat786 avatar chaitanyagiri avatar daniel478 avatar davidbru avatar divyanshu-rawat avatar jebbie87 avatar kaushal8298 avatar kill-gear avatar konaraddi avatar luishansen avatar meetzaveri avatar parths007 avatar prakhar897 avatar punit-agarwal avatar rowhitswami avatar saketkumar95 avatar theamanbhargava avatar tobi2k 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.