DevHomies / LikeHome

A mini clone of hotels.com
MIT License
1 stars 0 forks source link

React + Django Integration for Routing & Authentication #20

Closed xiyuanzhou closed 1 year ago

xiyuanzhou commented 1 year ago

POST and GET

TrustfulDev commented 1 year ago

Reminder: As we add routes, match the url in Server/urls.py

App.js <Route path='/' element={<HomePage />} /> <Route path='/login' element={<Login />} /> <Route path='/register' element={<Registerexample />} />

urls.py path('', TemplateView.as_view(template_name='index.html')), path('login/', TemplateView.as_view(template_name='index.html')), path('register/', TemplateView.as_view(template_name='index.html')),

rhedgeco commented 1 year ago

resolves #10

Add a new issue for the google auth problem please