Coder Social home page Coder Social logo

ziiin / nodegoat Goto Github PK

View Code? Open in Web Editor NEW

This project forked from owasp/nodegoat

0.0 2.0 0.0 8.97 MB

The OWASP NodeGoat project provides an environment to learn how OWASP Top 10 security risks apply to web applications developed using Node.js and how to effectively address them.

Home Page: https://www.owasp.org/index.php/Projects/OWASP_Node_js_Goat_Project

License: Apache License 2.0

JavaScript 100.00%

nodegoat's Introduction

NodeGoat

Being lightweight, fast, and scalable, Node.js is becoming a widely adopted platform for developing web applications. This project provides an environment to learn how OWASP Top 10 security risks apply to web applications developed using Node.js and how to effectively address them.

How to Install and Run NodeGoat

Requirements

  1. Install Node.js - NodeGoat requires Node v0.10.*
  2. Git command line tools - follow the setup instructions on GitHub or download here

Getting a Copy of the Code

Open a command prompt / terminal window and run the command below from the parent directory inside which you would like the NodeGoat code copied.

git clone https://github.com/OWASP/NodeGoat.git

Running Your Copy of the Code

  1. Install node modules
cd NodeGoat
npm install
  1. Create and populate local DB

  2. Connect to mongod

  3. From a system prompt, start mongo by issuing the mongo command

  4. Paste contents of nodegoat_db_reset.js at root directory on mongo console

  5. Add an entry for DB path in config/env/development.js as

var devConfig = {
  db: "mongodb://localhost/nodegoat" // path to local mongo db
  // any other dev specific entries here
};
  1. Start server
grunt run

This starts the NodeGoat application at url http://localhost:5000/

Customizing the Default Application Configuration

The default application settings (database url, http port, etc.) can be changed by updating the [config file] (https://github.com/OWASP/NodejsGoat/blob/master/config/env/all.js).

Contributing

Contributions from community are key to make NodeGoat a high quality comprehensive resource. Lets make NodeGoat awesome together!

New to git? You may find these resources helpful:

Ways to Contribute

Depending on your preference, you can contribute in various ways. Here are tasks planned for upcoming release. To begin, inform team about task you would like to contribute on, or send any other suggestions you may have using NodeGoat Google Group.

What is the Process

  1. Assign a task from project task list to yourself.
  2. Implement the changes in a fork.
  3. Once code is ready to commit, run command:
grunt precommit

This command indents code using js-beautifier and shows any jsHint errors. These coding conventions are checked using jsHint. Resolve all jsHint errors before committing the code.

  1. Commit the changes by adding issue number into a commit message
  2. Submit a pull request

Contributors

Here are the amazing contributors to the NodeGoat project.

Report bugs, Feedback, Comments

License

Code licensed under the Apache License v2.0.

nodegoat's People

Contributors

ckarande avatar jesusprubio avatar jksdua avatar diniscruz avatar michaelficarra avatar samanthagroves avatar tehtbl avatar

Watchers

James Cloos avatar Ajeet 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.