An open API service indexing awesome lists of open source software.

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

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/):

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](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):

[![Deploy with Vercel](https://vercel.com/button)](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)).