Skip to content
loading...
Cover image for Build a Complete Solution With AWS, Django , React , React Native and Heroku - Day 2

Build a Complete Solution With AWS, Django , React , React Native and Heroku - Day 2

nyamador profile image Desmond twitter logo github logo ・1 min read

Build A "Startup" from scratch (4 Part Series)

1) Build a Complete Solution with Django,React, React Native, AWS, Heroku 2) Build a Complete Solution With AWS, Django , React , React Native and Heroku - Day 2 3) Build a warehouse management solution with react, django, react-native and AWS. 4) Build a warehouse management solution with react, django, react-native and AWS.

Today I got the List api endpoints from the django backend working

Root API endpoint = /api/v1

Products = /products/all
Warehouses = /warehouses/all
Customers = /customers/all
Shipments = /shipments/all

To enable My React work with my backend I needed to install django-cors-headers and add localhost:300 to my whitelist.This is as a result of CORS

Cross-origin resource sharing is a mechanism that allows restricted resources on a web page to be requested from another domain outside the domain from which the first resource was served.

The next thing I need to do is to work on all my components in React.

twitter logo DISCUSS
Discussion
markdown guide
Classic DEV Post from Aug 4 '19

You're not worth hiring unless...

Desmond profile image
I call API's when I have nobody to talk to.