{"id":28473248,"url":"https://github.com/nylas/nylas-api-demo","last_synced_at":"2025-07-02T02:31:07.693Z","repository":{"id":42116195,"uuid":"134903720","full_name":"nylas/nylas-api-demo","owner":"nylas","description":"An example application that consumes the Nylas API.","archived":false,"fork":false,"pushed_at":"2023-06-09T14:49:00.000Z","size":677,"stargazers_count":5,"open_issues_count":27,"forks_count":8,"subscribers_count":65,"default_branch":"master","last_synced_at":"2025-06-07T12:06:39.231Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nylas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-25T20:51:48.000Z","updated_at":"2023-05-05T14:20:06.000Z","dependencies_parsed_at":"2023-02-01T01:46:11.426Z","dependency_job_id":null,"html_url":"https://github.com/nylas/nylas-api-demo","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nylas/nylas-api-demo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nylas%2Fnylas-api-demo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nylas%2Fnylas-api-demo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nylas%2Fnylas-api-demo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nylas%2Fnylas-api-demo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nylas","download_url":"https://codeload.github.com/nylas/nylas-api-demo/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nylas%2Fnylas-api-demo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263063937,"owners_count":23408019,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-06-07T12:06:39.198Z","updated_at":"2025-07-02T02:31:07.683Z","avatar_url":"https://github.com/nylas.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Nylas API Demo App\n\nThe Nylas email \u0026 calendar APIs power applications with email and scheduling features from any inbox in the world. The demo app is live at [https://nylas-sales-demo.herokuapp.com/]( https://nylas-sales-demo.herokuapp.com/), contact sales@nylas.com for a demo!\n\n\n## How to run the Backend\n\nThe server code was developed on Python 3.6.5\n\n### Download, create and activate your virtual environment:\n```\npip3 install virtualenv\nvirtualenv .venv --python=python3\nsource .venv/bin/activate\n```\n\n### Install python dependencies:\n```\npip3 install -r requirements.txt\npip3 install .\n```\n\n### Install react/js dependencies:\n```\nyarn install\n```\n\n### Create database and tables:\n`nylas_demo create_tables`\n\n### Seed database with user data:\n`nylas_demo add_user \u003cfirst_name\u003e \u003clast_name\u003e \u003cemail\u003e \u003cpassword\u003e \u003cnylas_access_token\u003e`\n\nPlease see our [API documentation](https://docs.nylas.com/reference#authentication) on hosted and native authentication for information on how to authenticate new users, and receive access tokens.\n\nTo use the API without implementing authentication, visit the [Nylas Dashboard]( https://dashboard.nylas.com/sign-in) and register for a developer account. After you have registered, you can click 'Auth Account' to sync a new email account, and get your access token.\n\n### Export environment variables\nIf you plan on using webhooks, the app will need your client secret in order to verify incoming webhooks. You can find your secret in the [Nylas Dashboard]( https://dashboard.nylas.com/sign-in) in the Dashboard view. Click the eye icon beside App Secret to copy/paste.\n\n`export NYLAS_OAUTH_CLIENT_SECRET=\u003cnylas_client_secret\u003e`\n\n### Run:\n`flask run`\n\n### Lint:\n`mypy api --ignore-missing-imports`\n\n### Test:\n`pytest -v`\n\n\n## How to run the Frontend\n\n### Run:\n`yarn start` runs the front-end at [http://localhost:3000](http://localhost:3000)\n\n### Lint:\n`npm run flow`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnylas%2Fnylas-api-demo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnylas%2Fnylas-api-demo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnylas%2Fnylas-api-demo/lists"}