Skip to content

Latest commit

 

History

History
30 lines (20 loc) · 870 Bytes

README.md

File metadata and controls

30 lines (20 loc) · 870 Bytes

react-portal-server

Installation

  • install 'nodejs'

  • install 'mongodb'

  • create the folder c:\data\db

  • install 'robomongo' to manage your database

  • launch the driver 'mongod'

  • install 'react-portal-server'

    • npm install
      • set your secret key in 'config.js'
      • set your connection string in 'index.js'
    • npm run dev : for the REST server
    • npm run wss : for the Websocket server
  • install 'react-portal'

Goal

A REST server built with NodeJS and Express to use with the 'react-portal'. The online course "Advanced React with Redux" from Stephen Grider helped me a lot to do the server. The course is excellent.

For now the server is dealing with the authentification as describe by Stephen Grider and returns a list of hardcoded users to test the 'users' widget' of the 'react-portal'.

See : 'react-portal' for more information