loginauth
v1.0.2
Published
Account web server
Readme
Directions For Running the Application:
Starting the server
- Enter: npm start
Loading the docker database image:
- Get the mongo image: docker pull mongo
- Run the database: docker run --name "ENTER NAME OF CONTAINER HERE" -d mongo:tag
- Enter the mongo shell: docker exec -it "container name" bash
- Switch to the correct port: mongo --port "port number"
- Switch to users: use users
- Show the databse: db.users.find().pretty()
Commands:
- COMMAND-LINE MODE: a. To enter command-line mode: npm run parseArgs (flags/options) b. Check the help flag for more info: npm run parseArgs -h
- PROMPTING MODE: a. To enter prompt mode: npm run prompt
