https://github.com/antoinewg/email-manager
https://github.com/antoinewg/email-manager
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/antoinewg/email-manager
- Owner: antoinewg
- Created: 2023-03-02T09:11:23.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-03-03T12:07:42.000Z (over 2 years ago)
- Last Synced: 2025-02-14T23:49:21.915Z (8 months ago)
- Language: TypeScript
- Homepage: https://email-manager-eight.vercel.app
- Size: 236 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 📧 Email Manager
## Getting Started
First, run the development server:
```bash
pnpm dev
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
You can start editing the page by modifying `app/page.tsx`. The page auto-updates as you edit the file.
[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`.
The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages.
This project uses [`next/font`](https://nextjs.org/docs/basic-features/font-optimization) to automatically optimize and load Inter, a custom Google Font.
## Supabase management
When adding a new table, or column, execute the SQL statement [locally](http://localhost:54323/), or by adding it manually.
Then generate the migration with `npx supabase db diff -f `. This will add a file `supabase/migrations/_.sql`.
Optionaly, you can modify the `seed.sql` for when you reset the db locally.
You can then commit and push the local migrations with `npx supabase db push`.
Don't forget to re-generate the types: `pnpm generate:types`.
## Deploy on Vercel
The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js.
Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details.