mern-crud-auth
A web CRUD application with Authentication using MERN Stack (Mongodb, Express, React, Nodejs)
File Explorer
- settings.json
- vite.svg
- auth.js
- axios.js
- tasks.js
- react.svg
- TaskCard.jsx
- Button.jsx
- ButtonLink.jsx
- Card.jsx
- index.js
- Input.jsx
- Label.jsx
- Message.jsx
- Textarea.jsx
- Navbar.jsx
- authContext.jsx
- tasksContext.jsx
- HomePage.jsx
- LoginPage.jsx
- RegisterPage.jsx
- TaskFormPage.jsx
- TasksPage.jsx
- auth.js
- task.js
- App.css
- App.jsx
- App.test.js
- config.js
- index.css
- main.jsx
- reportWebVitals.js
- routes.jsx
- setupTests.js
- .gitignore
- index.html
- package.json
- pnpm-lock.yaml
- postcss.config.cjs
- tailwind.config.cjs
- vite.config.js
- auth.http
- tasks.http
- auth.controller.js
- tasks.controllers.js
- jwt.js
- auth.middleware.js
- validator.middleware.js
- task.model.js
- user.model.js
- auth.routes.js
- tasks.routes.js
- auth.schema.js
- task.schema.js
- app.js
- config.js
- db.js
- index.js
- .env.template
- .gitignore
- docker-compose.yml
- package-lock.json
- package.json
- pnpm-lock.yaml
- 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`:
