Coder Social home page Coder Social logo

br0kensword / node-react-server-client-auth Goto Github PK

View Code? Open in Web Editor NEW
2.0 2.0 0.0 213 KB

working project that demonstrates server-side and client-side auth using node.js, react-redux, passport, mongoDB and jwt

HTML 11.06% JavaScript 86.51% CSS 2.43%

node-react-server-client-auth's Introduction

node-react-server-client-auth

working project that demonstrates server-side and client-side auth using node.js, react-redux, passport, mongoDB and jwt and Bcrypt.

Setting up

##MongoDB For this project to run you will need the current version of MongoDB installed and running on your computer. Once you have your endpoint for the DB you can go to server/index.js and change the location of your DB to your running instance on line 12

##Server (Node) Navigate to server directory and issue the command npm run dev to spin up the backend server which is set to run on localhost:3090. This will also start up nodemon which will enable live reloading of the server if you happen to make changes to while it is running.

##Client (React) Once you have cloned this repo, you can navigate to the client directory and use npm start to spin up the react server on localhost:3000.

node-react-server-client-auth's People

Contributors

br0kensword avatar

Stargazers

 avatar Kento Takano avatar

Watchers

James Cloos avatar  avatar

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.