pepesenaris / emails-from-create-react-app-example

6 stars 13 forks source link

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.