Skip to content

Commit fe3bf4b

Browse files
author
Emile Frey
committed
updated readme and footer
1 parent a004b71 commit fe3bf4b

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

README.md

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# django-react-postgres-boilerplate
1+
# StarterApp
22

33
## Prerequisites
44
Install Docker Desktop
@@ -7,7 +7,7 @@ Install Docker Desktop
77

88
**_Make sure backend\entrypoint.sh has LF format and not CRLF format_**
99

10-
You shouldn't have to make any changes to get this up and running, but here's some things to note:
10+
You shouldn't have to make any other changes to get this up and running, but here's some things to note:
1111

1212
- The default login credentials are admin and admin_password. These can be changed in backend/.env.
1313

@@ -47,11 +47,15 @@ The server should be available at `http://127.0.0.1/`. This mode will not hot re
4747

4848
### Left Navigation Bar:
4949
- The left navigation bar (intially shown on the left with only the Home icon upon login) is auto-generated along with the associated React Router's private routes. These routes can be easily added/modified in routes/Routes.ts.
50+
51+
### Subroutes/Params:
52+
- There is a dummy component called Placeholder that gives an example on how to access parameters passed into the url. This is useful when ensuring the user can access a specific page given say a object's PK...even if the page is refreshed. See routes.ts on how to setup the routes to accept optional parameters in the url path.
53+
5054
### Alerts:
5155
- An alert setter at the context level is also included. An example of TriggerAlert is shown in Home.tsx (variants displayed after successful/failed submit). See AlertContext.tsx for typings.
5256

5357
### Customization:
54-
- The boilerplate app name (shown at login, header, and footer) by changing the constant APP_NAME in frontend/src/settings.tsx.
58+
- The app name (shown at login & header) is set by the constant APP_NAME in frontend/src/settings.tsx.
5559
- The default session duration is set to 5 hours in frontend/src/settings.tsx. The user will be logged out after 5 hours.
5660
- The Material UI Theme can be adjusted in frontend\src\Theme.tsx
5761

@@ -69,15 +73,13 @@ The server should be available at `http://127.0.0.1/`. This mode will not hot re
6973
- [x] ensure a non-existing route redirects to home
7074
- [x] email support (for password reset)
7175
- [x] forgot password functionality (email)
72-
- [ ] Add support for nested sub-routes off the main left-nav routes
76+
- [x] Add support for nested sub-routes off the main left-nav routes
77+
- [x] Ensure match params (i.e. /user/profile/1/) work correctly.
7378
- [ ] Reset session timeout with activity.
7479
- [ ] Context level modal?
7580
- [ ] Swagger API Explorer
7681
- [ ] Backend Testing
7782
- [ ] Frontend Testing (React Testing Library)
7883
- [ ] Auto redirect to login with Failed Request
7984
- [ ] Axios Interface for demo API
80-
- [ ] Update and Pin versions (remove anything unused)
81-
- [ ] Logging (user login/logout)
82-
- [ ] Company Name/App Name
83-
- [ ] Docusaurus help
85+
- [ ] Update and Pin versions (remove anything unused)

frontend/src/components/Layout/Footer.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ export default function Footer() {
77
return (
88
<Typography variant="body2" color="textSecondary" align="center">
99
{'Copyright © '}
10-
<Link color="inherit" href="">
10+
<Link color="inherit" href="https://github.com/emilefrey/django-react-postgres-boilerplate">
1111
{APP_NAME}
1212
</Link>{' '}
1313
{new Date().getFullYear()}

0 commit comments

Comments
 (0)