https://github.com/malithmcr/i-am-bored
This app suggest things to do when you are bored
https://github.com/malithmcr/i-am-bored
magiclink nextjs
Last synced: about 1 year ago
JSON representation
This app suggest things to do when you are bored
- Host: GitHub
- URL: https://github.com/malithmcr/i-am-bored
- Owner: malithmcr
- Created: 2021-10-30T20:19:35.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-11-13T10:46:12.000Z (over 4 years ago)
- Last Synced: 2025-02-10T02:24:39.801Z (over 1 year ago)
- Topics: magiclink, nextjs
- Language: JavaScript
- Homepage: https://i-am-bored-five.vercel.app/
- Size: 74.2 KB
- Stars: 4
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Find something to do when you are bored
# explaining the project. ✅
# get the email from the form. ✅
# env variables | magic secret | signup to magic ✅
# getting magic token from magic client ✅
# login api call ✅
# API ✅
# token cookie ✅
# user hook ✅
# redirect to looggedin page ✅
# logout ✅
# profile page✅
##ENV
MAGIC_SECRET_KEY
TOKEN_SECRET
NEXT_PUBLIC_MAGIC_PUBLISHABLE_KEY.
It uses the new [`Just-in-Time Mode`](https://tailwindcss.com/docs/just-in-time-mode) for Tailwind CSS.
## Preview
Preview the example live on [StackBlitz](http://stackblitz.com/):
[](https://stackblitz.com/github/vercel/next.js/tree/canary/examples/with-tailwindcss)
## Deploy your own
Deploy the example using [Vercel](https://vercel.com?utm_source=github&utm_medium=readme&utm_campaign=next-example):
[](https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/with-tailwindcss&project-name=with-tailwindcss&repository-name=with-tailwindcss)
## How to use
Execute [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app) with [npm](https://docs.npmjs.com/cli/init) or [Yarn](https://yarnpkg.com/lang/en/docs/cli/create/) to bootstrap the example:
```bash
npx create-next-app --example with-tailwindcss with-tailwindcss-app
# or
yarn create next-app --example with-tailwindcss with-tailwindcss-app
```
Deploy it to the cloud with [Vercel](https://vercel.com/new?utm_source=github&utm_medium=readme&utm_campaign=next-example) ([Documentation](https://nextjs.org/docs/deployment)).