Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dgknbtl/node-authentication
An authentication and a task application with Node.js, MongoDB.
https://github.com/dgknbtl/node-authentication
authentication express mongodb nodejs passport task-manager todo
Last synced: 4 days ago
JSON representation
An authentication and a task application with Node.js, MongoDB.
- Host: GitHub
- URL: https://github.com/dgknbtl/node-authentication
- Owner: dgknbtl
- License: mit
- Created: 2022-05-02T22:30:27.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-05-07T15:28:49.000Z (over 2 years ago)
- Last Synced: 2023-11-01T23:26:10.904Z (about 1 year ago)
- Topics: authentication, express, mongodb, nodejs, passport, task-manager, todo
- Language: JavaScript
- Homepage:
- Size: 75.2 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
![nodejs auth 2](https://user-images.githubusercontent.com/10329339/167260041-d8ab5e15-0d97-4ff2-b134-af2594ebf622.gif)
# Node.js Authentication App
An authentication application with registration and login. It also includes a task/todo application. It uses Node.js, MongoDB, Express, Passport.js and more.## Usage
#### Clone the repository
`git clone https://github.com/dogukanbatal/auth-with-nodejs`#### ENV Variables
##### Create a `.env` file in root directory
```
PORT= 3000
DB_URL= your mongodb url
```
*The env file is not required. If you don't enter DB_URL inside an .env file, it will create a database named "node-auth-db" locally.*#### Into the repo directory
`cd auth-with-nodejs`#### Install NPM dependicies
`npm install`#### Start the project
`npm run dev`## LICENCE
#### MIT LICENCE
Copyright© 2022 Dogukan BatalPermission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.