Giter Club home page Giter Club logo

emails-from-create-react-app-example's Introduction

Install & Setup

Install & run React app:

$> cd react-ui

$> npm install

$> npm start

Install & run API server:

$> npm install

$> npm start

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:5000 to view it in the browser.

App setup

Create a .env file in the root of the project with the following content:

MJ_APIKEY_PUBLIC=<api_key_public>
MJ_APIKEY_PRIVATE=<api_key_private>

and replace the placeholders with actual values from a MAILJET account.

emails-from-create-react-app-example's People

Contributors

pepesenaris avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

emails-from-create-react-app-example's Issues

U Unsuccessful: 401 Your account has been temporarily blocked. Please contact our support team to get assistance.

created MJ_APIKEY_PUBLIC=<api_key_public>
MJ_APIKEY_PRIVATE=<api_key_private>
and replaced in code and verified its correct

getting below error
messageInfo { email: '******@gmail.com',
fromEmail: '[email protected]',
fromName: 'Star Wars',
subject: 'Checkout this awesome droids' }
aaaa Promise {
_bitField: 0,
_fulfillmentHandler0: undefined,
_rejectionHandler0: undefined,
_promise0: undefined,
_receiver0: undefined }
(node:12788) UnhandledPromiseRejectionWarning: Error: Unsuccessful: 401 Your account has been temporarily blocked. Please contact our support team to get assistance.
at C:\Users\RASHMITHA\Desktop\emails-from-create-react-app-example-master\node_modules\node-mailjet\mailjet-client.js:321:23
at Request.callback (C:\Users\RASHMITHA\Desktop\emails-from-create-react-app-example-master\node_modules\superagent\lib\node\index.js:728:3)
at parser (C:\Users\RASHMITHA\Desktop\emails-from-create-react-app-example-master\node_modules\superagent\lib\node\index.js:916:18)
at IncomingMessage.res.on (C:\Users\RASHMITHA\Desktop\emails-from-create-react-app-example-master\node_modules\superagent\lib\node\parsers\json.js:19:7)
at emitNone (events.js:111:20)
at IncomingMessage.emit (events.js:208:7)
at endReadableNT (_stream_readable.js:1064:12)
at _combinedTickCallback (internal/process/next_tick.js:139:11)
at process._tickCallback (internal/process/next_tick.js:181:9)
(node:12788) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:12788) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

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.