{"_id":"@autom8te/expo-express-supabase-template","name":"@autom8te/expo-express-supabase-template","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@autom8te/expo-express-supabase-template","author":{"name":"autom8te"},"version":"1.0.0","description":"Template for Expo and Express to spin up a quick ready-to-go mobile app with a Supabase backend.","license":"ISC","bin":{"create-expo-express-app":"create-expo-express-app.js"},"dependencies":{"fs-extra":"^11.2.0","handlebars":"^4.7.8","path":"^0.12.7"},"licenseText":"MIT License\n\nCopyright (c) 2024 Eric Agnitsch\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@autom8te/expo-express-supabase-template@1.0.0","dist":{"shasum":"f4657f4833b37e8cfcde7aa3f002b0ac0e0ab5fd","integrity":"sha512-26ULdwAWLyIEQDIW34xb3VsQ57BMbVuAf0GUM9fyZNXqPaAGZX0Uu+R4W+6S8S/weZbllOoMvaKseiwKTktqGw==","tarball":"https://registry.npmjs.org/@autom8te/expo-express-supabase-template/-/expo-express-supabase-template-1.0.0.tgz","fileCount":60,"unpackedSize":126573,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD2X5fMI2UgFy5FtcOAqU/eY9RYhU/ZQE0kEgsHqQObOQIhAJOfvwbXVRC1rCWLND4t3HhZNMe2d7W2gVhXwJwQBX5C"}]},"_npmUser":{"name":"autom8te","email":"ericagnitsch.dev@gmail.com"},"directories":{},"maintainers":[{"name":"autom8te","email":"ericagnitsch.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/expo-express-supabase-template_1.0.0_1710013610899_0.8888042063721688"},"_hasShrinkwrap":false}},"time":{"created":"2024-03-09T19:46:50.788Z","1.0.0":"2024-03-09T19:46:51.046Z","modified":"2024-03-09T19:46:51.603Z"},"maintainers":[{"name":"autom8te","email":"ericagnitsch.dev@gmail.com"}],"description":"Template for Expo and Express to spin up a quick ready-to-go mobile app with a Supabase backend.","author":{"name":"autom8te"},"license":"ISC","readme":"# expo-express-supabase-template\n\n## Description\n\nReady to kickstart your full-stack journey with just one line? This project rolls out the red carpet for an Expo mobile\napp and an Express server backend. Just tweak a few environment variables, create a Supabase table, and voila! You're\nthe proud owner of a full-fledged mobile application.\n\n### Features\n\n- Easy-peasy authentication (using Supabase's auth)\n- Alerts on your phone with mobile notifications\n- Smooth sailing with Expo page routing\n- Styling with Nativewind (tailwindcss)\n- Dockerized for easy deployment and hosting\n\n### Requirements\n\nBefore starting, ensure you have the following installed and configured:\n\n- **Node.js**: [Installation guide](https://nodejs.org/en/download/)\n- **Yarn**: Run `npm install --global yarn` to install Yarn via npm.\n- **Expo CLI**: Run `yarn global add expo-cli` to install Expo CLI.\n- **Supabase**: A [Supabase](https://supabase.com/) project.\n- **Expo**: An [Expo](https://expo.dev/) project.\n\n---\n\n## Getting Started\n\nTo create your project with this template, run `npx @autom8te/expo-express-supabase-template@latest <project_name>`,\nreplacing `project_name` with your camelcase project name. This will create an `expo-<project_name>` for the Expo mobile\nfront-end and `express-<project_name>` folder containing Express server back-end.\n\n### Supabase Project Setup\n\n1. Create a new project in Supabase.\n2. Create a `users` table with a `push_notification_token` column in your Supabase instance.\n\nHere's a SQL query to quickly create this table in Supabase's SQL editor.\n\n```sql\ncreate table\n  public.users (\n    id uuid not null default auth.uid (),\n    created_at timestamp with time zone not null default now(),\n    push_notification_token text null,\n    constraint users_pkey primary key (id),\n  ) tablespace pg_default;\n```\n\n### Expo Project Setup\n\nIn [Expo.dev](https://expo.dev/), create a new project! The only thing you'd need is the project ID for mobile\nnotification setup.\n\n- Found at https://expo.dev/accounts/<account_name>/projects/<project_name>\n","readmeFilename":"README.md"}