An dashboard for book publisher created with React, Redux-Saga and Firebase-Cloud-Firestore
- git clone https://github.com/mashup96/admin-books-app.git
- cd admin-books-app
npm install
Run npm start
for a dev server. Navigate to http://localhost:3000/
.
The app will automatically reload if you change any of the source files.
Since this is an example project, the login credentials are:
Username: mattia.carria@gmail.com
Password: 123456
Run npm run build
to build the project. The build artifacts will be stored in the build/
directory.
In the screenshot-webapp
folder there are all screenshot related to the web application pages.
In the screenshot-firebase
folder there are all screenshot of how cloud firestore documents are structured.
condition create: request.resource.data.uid == request.auth.uid
;
for files request.resource.metadata.uid == request.auth.uid
( if the sent uid is equal to the uid of the authenticated user )
condition update,delete,read: resource.data.uid == request.auth.uid
;
for files resource.metadata.uid == request.auth.uid
( if the uid of the stored resource is equal to the uid of the authenticated user )