INNER CODE UNIT · JavaScript
App
devdcores/BookStoreApp-Distributed-Application · bookstore-frontend-react-app/src/App.js:26
function App() {
return (
<BrowserRouter history={history}>
<Header></Header>
<main className='py-3'>
<Container>
<Route path='/order/:id' component={OrderScreen} />
<Route path='/login' component={LoginScreen}></Route>
<Route path='/payment' component={PaymentScreen}></Route>
<Route path='/placeOrder' component={PlaceOrderScreen}></Route>
<Route path='/shipping' component={ShippingScreen}></Route>
<Route path='/userProfile' component={ProfileScreen} />
<Route path='/register' component={RegisterScreen}></Route>
<Route path='/product/:id' component={ProductScreen}></Route>
<Route path='/cart/:id?' component={CartScreen}></Route>
<Route path='/admin/userlist' component={UserListScreen} />
<Route path='/admin/user/:id/edit' component={UserEditScreen} />
<Route path='/admin/productlist' component={ProductListScreen} exact />