A boilerplate server with authentication built with Node.js, MongoDB, Passport, and Express.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
controllers
models
services
.gitignore
README.md
index.js
package-lock.json
package.json
router.js

README.md

auth-server

An HTTP server with authentication built with NodeJS, MongoDB, Passport, and Express. The server provides endpoints for signing in with username and password, logging with in JSON web tokens using PassportJS's local authentication provider, and allows CRUD apoerations using the RESTful interface.

Makes for a solid boilerplate for a Node backend.

Usage

Clone the repository and install npm dependencies.

git clone https://github.com/kunalgorithm/auth-server.git
cd auth-server
npm install 

Now, you can run the development server with npm run dev or the production server with npm run start

Happy hacking 🤖