Code Monkey home page Code Monkey logo

auth-backend's Introduction

auth-backend

This tutorial teaches how to create authentication for a user using nodejs and mongoDB.

I have shown how Authentication can be achieved using nodejs and mongoDB in my series entitled: "Authentication with Nodejs and mongoDB". Check them out below:

  1. Authentication with Nodejs and mongoDB - Part 1

  2. Authentication with Nodejs and mongoDB - Part 2

  3. Authentication with Nodejs and mongoDB - Part 3

  4. Authentication with Nodejs and mongoDB - Part 4

  5. Hosting a Nodejs and MongoDB App on Heroku

Dependences

SETTING UP

  • Clone the repositury to your machine
  • Open up a terminal
  • Navigate into the project directory
  • Run npm install to install all needed dependencies
  • Run nodemon index to spin up the server
  • The server runs on port 3000 http://localhost:3000/

auth-backend's People

Contributors

eberegit avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

auth-backend's Issues

testing <my-app>.herokuapp.com/login endpoint in postman fails

i've tried everything i can think of to get the login (and register, fwiw) endoint requests to succeed on postman but to no avail. src code is identical to your repo. all postman requests pass locally. i'm totally at a loss as to how to get the heroku endpoint requests to succeed. figured i'd reach out to you and see if there is any insight you can provide. thanks in advance.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.