1.0.0 • Published 3 years ago

dugoly-news v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

dugoly-news

A fully implemented component for a news-line without the need for a manual database connection. for more information go to dugoly, Developers tools

Install

npm install --save dugoly-news

Usage

import React from 'react'

import News from 'dugoly-news'

const App = () => {
  return <News 
  ownerId="-MO0rfu7iS6SO7iFQS2x"
  nCode="my-code" 
  dir="right"
  style={{backgroundColor:"red"}}
  />
}

export default App

General instructions for using the component

In order to view the news and its contents, there is no need for dugoly-login at all, but in order to edit and add news , you need to login by dugoly Logging in with dugoly will enter the user's ID values in cookies, and if he is defined as the blog owner, he will be able to edit and add blog posts In order to log in and verify user information with dugoly you must install the dugoly-login component (click for more explanation)

How do I get the uid?

Go to the dugoly website to the get my uid page at the link: https://dugoly.com/managementInterface/geyMyUid.html . Once you have logged in with the authentication details of the user who will be the blog owner, you will receive the uid there You can also get them at any site that logs in with dugoly in cookies Or, if you have a site and the above user logged in to your site with dugoly, you can see its details in the management interface

Additional libraries

To view dugoly's list of libraries click here

License

MIT © omershiran motto - Application and website development