An open API service indexing awesome lists of open source software.

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

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