creativecommons / creativecommons/cc-resource-archive

[Feature] Request to improve the 'Submit a resource' using Fireabse Database

Open
#129 9 comments 0 reactions 0 assignees View on GitHub
✨ goal: improvement 💬 talk: discussion 💻 aspect: code 🟩 priority: low 🧹 status: ticket work required
Dominant language
Dockerfile
Stars
66
Forks
137
PR merge metrics
No merged PRs in 30d

Description

## Problem
Problem following the #113 issue but I would like to add more details. When i navigated towards the route **/submit** in my computer the form it's not rendering the google form and other details.

So here my approach is to create a new form and use Google Firebase as a backend service and use its features.

![image](https://user-images.githubusercontent.com/81693090/228583093-f491e07f-37ad-4b72-8747-3b201f98ec0c.png)

## Description
Since there was already has the option to submit a resource via google form but since Creative Commons has already used Jeykll my approach is to create a form but use google firebase as a backend data the user needs to sign via google/ Microsoft or Facebook account in before submitting the form.

**Reasons to use**

1. Firebase Database: It allows real-time database connection, which means multiple users can see the changes in the data when the data gets created or edited.

2. Data transmission is handled with web sockets so you don't have to send requests to get new data, you only need to subscribe once.

3. Data is secure and reliable in future implementation Creative Commons may use Google Cloud and use other features

4. Who wants to submit resources to creative commons directly via firebase and be able to fetch and display them on the webpage we know all visitors may always have a google account/ Microsoft account so it is accessible and efficient

### **Example design: for sign-in using firebase auth**

![Screenshot from 2023-03-29 20-17-57](https://user-images.githubusercontent.com/81693090/228585723-27d7afad-d793-4b06-87b5-a8ae2b122063.png)

### **Submit Resource Example Design**

![Screenshot from 2023-03-29 19-36-36](https://user-images.githubusercontent.com/81693090/228587238-bfab6f03-fda1-432d-97ab-b91578129d46.png)

The user can add their thoughts supported by links and descriptions so i think it would really help in better development of this project

Hello Sir @possumbilities what about your opinions if yes please allow me to move forward I would be very happy to work on it
## Alternatives

We could also convert the whole website into **NodeJs** and **ReactJs** and use **MongoDB** / Firebase and style using the MUi
which improves the *codebase readability* and its **User Experience** can be **improved**
## Additional context

## Implementation

- [ ] I would be interested in implementing this feature.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.