Setup
I'm keeping the .env file for your ease of test
- Install Nodejs https://nodejs.org/en/download/
- Run yarn install or npm install
- Run yarn start or npm start
- Go to localhost:3000
- Incase you're unable to get the access token try this example one with a validity od 30 days.
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzY29wZSI6ImFkbWluIiwiZXhwIjoxNjc2MTIyNjkzLCJpYXQiOjE2NzM1MzA2OTN9.fvnTSkNrNxLhNtHUl43Q-5DrwSNPyarSyne23O9dJMI
- Make sure you don't update Django's backend secret key because it was being used to generate above token.
- Manual way of getting accesstoken is to send a GET request to this endpoint with any HTTP client.
http://localhost:8000/api/v1/admin-access