Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.
/ inbox-zero Public archive

Automate Your Way to Inbox Zero With Nylas

Notifications You must be signed in to change notification settings

nylas/inbox-zero

Repository files navigation


Logo

Automate Your Way to Inbox Zero With Nylas

A demo inbox built using the Nylas API


Getting Started

To get started, you can run the app locally or remix it as a Glitch app.

Installing Locally

Note: You must have node 10 or higher installed to run this app.

First, clone the repository locally:

git clone https://github.com/nylas/inbox-zero.git

Next, install the dependencies:

cd inbox-zero && npm install

Remix on Glitch

Glitch is a community coding platform that allows you to build fast, full-stack web apps in your browser for free. Click the "Remix on Glitch" button to get started.

Remix on Glitch

Configuration

Next, you'll need to configure the app to use your Nylas Client ID and Client secret. You can find these on the application dashboard. Don't have a Nylas account yet? Try it free

Create a .env file with the following content:

NYLAS_ID=your-client-id
NYLAS_SECRET=your-nylas-secret
JWT_SECRET=any-random-string

You need to add a callback URL to your nylas aplication settings. If you are running locally, add http://localhost:3000/api/authorize. If you are using Glitch, add https://your-glitch-url.glitch.me/api/authorize

Starting your app

Finally, run npm run local and navigate to http://localhost:3000. Or if you are using Glitch, visit your live Glitch app. You should now see Inbox Zero!

Production build

To deploy Inbox Zero to production, first create a build for the app. This should most likely happen in your build step.

npm run build

Next, on your server, run the following to start Inbox Zero.

npm run prod

Built With

About

Automate Your Way to Inbox Zero With Nylas

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published