Discussion Middleware Setup
Discussion middleware is middleware proxy service, which is having all discussion forum apis.
How to setup discussion middleware.
Step:1
Clone the discussion middleware repo from https://github.com/Sunbird-Ed/discussions-middleware.git
Step:2
Execute npm install
command.
Step:3
add the environment variable in environmentHelper.js file.
Note: If your testing the DF-lib using demo application. You have to use user token instead of master token. Once we implemented DF-middleware cache then onwards no need to change the token. we can use master token itself.
Step:4
Run the discussion middleware using the command npm run start
. Discussion-middleware will run on port 3002.
Last updated