0.1.6 • Published 10 months ago

feedbacky-app v0.1.6

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Feedbacky App

Feedback app is a lightweight app. It is easily applied to your site and stores users' feedback in the database.

Installation

npm install feedbacky-app

OR

yarn add feedbacky-app
import { Feedbacky } from "feedbacky-app";

function App() {
    const feedBackyProps = {
        appId: "TEST",
        apiUrl: "https://f-backend-d71e84d46dd0.herokuapp.com/",
        sendButtonLabel: 'Send',
        successMessage: 'Thanks for your feedback!',
        titleColor: 'black',
        title: 'Send your feedback',
        placeholder: 'Enter your feedback',
        backgroundColor: 'rgba(0, 0, 0, 0.2)',
        modalStyle: {
          backgroundColor: '#fff',
          border: '1px solid #fafafa',
        },
    };

    return (
        <main className="App">
            <Feedbacky {...feedBackyProps} />
        </main>
    );
}
export default App;

Documentation

Props*Descriptiontyperequireddefault props
appIdYour App IDstringtruenull
apiUrlBackend Api URLstringtruenull
sendButtonLabelSubmit form button textstringfalse'Send',
successMessageSuccess Message Textstringfalse'Thanks for your feedback!',
titleColorSubmit form title colorstringfalse'black'
titleSubmit form title textstringfalse'Send your feedback',
placeholderSubmit form feedbacky input placeholder textstringfalse'Enter your feedback',
backgroundColorbackground color outside modalstringfalse'rgba(0, 0, 0, 0.2)
modalStyleStyle for modalReact.CSSProperties (Object)false{backgroundColor: '#fff', border: '1px solid #fafafa'}

Admin Panel

admin dashboard You can see their feedback by logging in.

NOTE: Only admin can create user account.

Generating APP ID

EXAMPLE USER = { email: test@feedback.com password: test123 }

ADMIN USER = { email: admin@admin.com password: admin123 }

Example DEMO

TEST COVERAGE : 100%

0.1.6

10 months ago

0.1.5

10 months ago

0.1.4

10 months ago

0.1.3

10 months ago

0.1.1

10 months ago

0.1.0

10 months ago