Closed giossa94 closed 4 years ago
@bryant1410 Will open a new PR to address your feedback:
.env.template
to list the environment variables needed to run the application (currently there's only one, API_URL
, and you can set it to /api
to run the project locally)Cool, thanks! I set it to exactly that, but run into a CSRF token error.
Cool, thanks! I set it to exactly that, but run into a CSRF token error.
I ran into this too, and told it to @pgrill, he's going to fix it. It's an issue with the session cookies set when you log in into the admin panel (/admin
), they seem to be sent on every request sent to the Django API, and the app endpoints are not authenticated right now.
In the meantime try deleting the cookies of localhost:8000 (or whatever port you're serving the Django API).
@bryant1410 @pgrill I think that this first initial version of the frontend app is ready for review. Let me know if you have any questions or suggestions.