nodejs-mysql-links
A CRUD Web Application with authentication using Nodejs, Mysql and other Javascript technologies
File Explorer
- db.sql
- screenshot.png
- screenshot2.png
- auth.controller.js
- index.controller.js
- links.controller.js
- user.controller.js
- handlebars.js
- helpers.js
- passport.js
- protectedRoutes.js
- validator.middleware.js
- styles.css
- background.jpeg
- logo.png
- auth.routes.js
- index.js
- index.routes.js
- links.routes.js
- user.routes.js
- auth.schema.js
- task.schema.js
- signin.hbs
- signup.hbs
- main.hbs
- add.hbs
- edit.hbs
- list.hbs
- message.hbs
- navigation.hbs
- error.hbs
- index.hbs
- profile.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:
mysql
View Details ▼
mysql
The MySQL tool.
mysql {{database_name}}
Connect to a database:
mysql {{[-u|--user]}} {{user}} {{[-p|--password]}} {{database_name}}
Connect to a database, user will be prompted for a password:
mysql {{[-h|--host]}} {{database_host}} {{database_name}}
Connect to a database on another host:
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`:
