A starter/demo React web frontend written in Typescript. An Django implemention of the backend it uses can be found here
Includes:
- routing
- authentification
The authentification makes api calls to a Django app that implements REST framework JWT
Check the node version. This was developed on v14.7.0
but it is likely to work on earlier versions too.
git clone git@github.com:chrisfield/djact-web.git
cd djact-web
yarn install
or Use npm
if you prefer
Rather than editing .env
it is better to create a .env.local
file.
yarn start
If you get cross origin errors you may need to add the frontend url (like http://localhost:3030) toCORS_ORIGIN_WHITELIST
in django api app settings.py.