nodejs-notes-app
A web app to manage notes using Nodejs, and Mongodb as database, plus authentication with passportjs
File Explorer
- screenshot.png
- passport.js
- auth.controllers.js
- index.controller.js
- notes.controller.js
- auth.js
- createUser.js
- Note.js
- User.js
- main.css
- logo.png
- auth.routes.js
- index.routes.js
- notes.routes.js
- signin.hbs
- signup.hbs
- main.hbs
- all-notes.hbs
- edit-note.hbs
- new-note.hbs
- errors.hbs
- messages.hbs
- navigation.hbs
- 404.hbs
- about.hbs
- error.hbs
- index.hbs
- app.js
- config.js
- database.js
- index.js
- .dockerignore
- .gitignore
- docker-compose.yml
- Dockerfile
- package-lock.json
- package.json
- README.md
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
git clone
View Details ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
npm run
View Details ▼
npm run
Run a script.
npm run
List available scripts:
npm run {{script_name}}
Run a script:
npm run {{script_name}} -- {{argument}} {{--option}}
Pass arguments to a script:
npm start
View Details ▼
npm start
This command is an alias of `npm run start`.
tldr npm run
View documentation for the original command:
npm
View Details ▼
npm
JavaScript and Node.js package manager.
Manage Node.js projects and their module dependencies.
Some subcommands such as `install`, `run`, etc. have their own usage documentation.
npm init {{[-y|--yes]}}
Create a `package.json` file with default values (omit `--yes` to do it interactively):
npm {{[i|install]}}
Download all the packages listed as dependencies in `package.json`:
npm {{[i|install]}} {{package_name}}@{{version}}
Download a specific version of a package and add it to the list of dependencies in `package.json`:
