GithubHelp home page GithubHelp logo

nitesh920 / cybros-web-application Goto Github PK

View Code? Open in Web Editor NEW

This project forked from opensouce-lnmiit/cybros-web-application

0.0 0.0 0.0 4.12 MB

Cybros Web Application Development

Home Page: https://cybroslnmiit.herokuapp.com/

License: MIT License

JavaScript 19.24% CSS 46.13% Handlebars 34.63%

cybros-web-application's Introduction

Cybros

DUB Join the chat

Cybros Web Application

Official web application of Cybros. Website is live now: https://cybroslnmiit.herokuapp.com/ (Not updated since 2018)

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

Email Config

To configure signup authentication from email part you need to replace "YOUR-EMAIL-ID" with your email ID and "PASSWORD" with your password in routes/signup.js. and possibly configure your EMAIL account's security options.

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 Practices

Commits

  • Write clear and meaningful git commit messages (Do read http://chris.beams.io/posts/git-commit/)
  • Make sure your PR's description contains GitHub's special keyword references that automatically close the related issue when the PR is merged. (More info at https://github.com/blog/1506-closing-issues-via-pull-requests )
  • When you make very very minor changes to a PR of yours (like for example fixing a failing Travis build or some small style corrections or minor changes requested by reviewers) make sure you squash your commits afterward so that you don't have an absurd number of commits for a very small fix. (Learn how to squash at https://davidwalsh.name/squash-commits-git )
  • When you're submitting a PR for a UI-related issue, it would be really awesome if you add a screenshot of your change or a link to a deployment where it can be tested out along with your PR. It makes it very easy for the reviewers and you'll also get reviews quicker.

Join the development

  • Before you join development, please set up the project on your local machine, run it and go through the application completely.
  • If you would like to work on an issue, drop in a comment at the issue. If it is already assigned to someone, but there is no sign of any work being done, please feel free to drop in a comment so that the issue can be assigned to you if the previous assignee has dropped it entirely.

License

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

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.