Skip to content

vinej/react-portal-server

Repository files navigation

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

About

A REST server with NodeJS and Express to use with 'react-portal'

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published