c-v-ya / djact Goto Github PK
View Code? Open in Web Editor NEWDjango + React, Redux and JWT
License: MIT License
Django + React, Redux and JWT
License: MIT License
I have this error: django.core.exceptions.ImproperlyConfigured: Set the DJANGO_SECRET_KEY environment variable
My .env file is next to .env.exemple.
Do you think we have to switch to os lib?
I'd read your post with relation to django,react,jwt. It's great and very useful for me.
I tried to deploy on localhost, but failed, even though after downloading this git project.
In condition of development, in other words, when I am using localhost:8000 as backend, localhost:3000 as frontend,
it does work well. But building is failed.
I followed your blog and make my project just like to your project's structure.
After entered localhost:8000, there was empty in my screen and some errors below in console.
1)Refused to execute script from 'http://localhost:8000/static/bundle.c3b68b6c3ff630372eb4.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
2)Refused to execute script from 'http://localhost:8000/static/vendor.6af475534d9e3f239f45.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.
-I tried to execute scripts in package.json using yarn build or npm build, so the structure of mine is just like to your blog.
-I can't see login page in localhost:8000 after python manage.py runserver
I can't find out any clue to this. If I missed something, Could you let me know this reason?
Thanks a lot.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.