GithubHelp home page GithubHelp logo

gsm005 / digital-asset-manager Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 207 KB

This is a digital asset manager which is an all in one solution for Digital Assets.

HTML 0.70% JavaScript 88.73% SCSS 10.56%

digital-asset-manager's Introduction

Digital-Asset-Manager

Take a look at live working website right here - https://dam-pix.web.app/

This is a Digital Asset Manager which is a one stop solution for digital assets. It automatically generate tags for the images you upload, provides an in-browser image transformation and enables you to download the image in webp,jpeg and png format.

It uses React as frontend, Firebase as backend and uses Imagga API to automatically assign tags to your images. An easy way to manange digital assests!

Clone the project

git clone https://github.com/gsm005/Digital-Asset-Manager.git

Open the Project directory in the terminal

npm install

After installation is complete, Create a new firebase project and create a Web app, copy the const firebaseConfig from firebase,and paste it in place of const firebaseConfig your folder directory.

src/firebase/config.js

After creating webapp enable firestore database, firebase storage and firebase Authentication.

Update the rules of firestore database

rules_version = '2'; service cloud.firestore { match /databases/{database}/documents { match /{document=**} { allow read, write,delete,update: if request.time<timestamp.date(2025,1,25); } } }

Update the rules of firebase storage

rules_version = '2'; service firebase.storage { match /b/{bucket}/o { match /{allPaths=**} { allow read, write,delete: if request.time<timestamp.date(2025,1,25); } } }

In Firebase Authentication Enable Email/Password and Google.

Now, Open Google Cloud Console select the project that you are working on. Click open Cloud Shell and write these commands.

nano cors.json

{[ "origin":["*"], "method":["GET"], "maxAgeSeconds":3600 ]}

Save this and then write in shell

gsutil cors set cors.json <link_of_firebase_storage>

After setting up firebase you need to set up Imagga API, for this go to imagga.com and create an account. After creating an account copy API key and API secret and paste it in place of API key and API secret in your folder directory.

src/components/upload/progressList.js

Start the server

npm start

Inorder to increase or decrease the no. of tags you can change the number from 10 in src/components/upload/progressList.js

const detectedTags = response.data.result.tags.slice(0, 10);

digital-asset-manager's People

Contributors

gsm005 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.