https://github.com/jackhedaya/simple-auth-server
A boilerplate for a Node.js Express and MongoDB server with authentication
https://github.com/jackhedaya/simple-auth-server
authentication expressjs middleware mongodb mongoose nodejs server
Last synced: 3 months ago
JSON representation
A boilerplate for a Node.js Express and MongoDB server with authentication
- Host: GitHub
- URL: https://github.com/jackhedaya/simple-auth-server
- Owner: jackHedaya
- Created: 2019-03-13T04:18:04.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-12-09T15:37:42.000Z (over 3 years ago)
- Last Synced: 2025-10-08T23:19:57.597Z (9 months ago)
- Topics: authentication, expressjs, middleware, mongodb, mongoose, nodejs, server
- Language: JavaScript
- Size: 38.1 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Auth Server Boilerplate
I spent way too much time looking for a simple boilerplate that uses MongoDB and has simple authentication already set up. Here is what I came up with.
MongoDB needs to be installed on the server or system that is running. Docker support is currently being worked on.
## Get Started
- `$ git clone https://github.com/jackHedaya/simple-auth-server my-server`
- `$ cd my-server && yarn`
## Usage
- Edit needed lines for your project in:
+ `tests/user.test.js`
+ `src/index.js`
+ `src/db/schemas/account.js`
- Build whatever you want!
## Dependencies
- express
- body-parser
- mongodb
- mongoose
- bcrypt
- uuid