Skip to content

natanaeladit/nodegoat

Repository files navigation

Build Status

NodeGoat

This is a fork of NodeGoat Project.

Getting Started

Run NodeGoat on your machine

Please follow these steps to setup and run it locally -

  • Install Node.js - NodeGoat requires Node v4.4 or above

  • Clone the github repository

git clone https://github.com/natanaeladit/nodegoat

*go to the directory

cd nodegoat
  • Install node modules
npm install
  • Create Mongo DB: You can create a remote MongoDB instance

    • Using Remote MongoDB
      • Create a sandbox mongoDB instance (free) at MongoLab
      • Create a new database.
      • Create a user.
      • Update the db property in file config/env/development.js to reflect your DB setup. (in format: mongodb://<username>:<password>@<databasename>)
  • Populate MongoDB with seed data required for the app

    • Run the npm-script below to populate the DB with seed data required for the application. Pass the desired environment as argument. If not passed, "development" is the default:
npm run db:seed
npm start
  • Login
    • Admin Account - u:admin p:Admin_123
    • User Accounts - (u:user1 p:User1_123), (u:user2 p:User2_123)

License

Code licensed under the Apache License v2.0.

test edit

About

This is a fork of NodeGoat project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published