/tiny-login-app

Tiny login app

Primary LanguageTypeScript

This is a Next.js project bootstrapped with create-next-app.

Here you can find the small example of the login app, which I called the "Tiny Login App".

Note, that there is no any API calls, so the data is not saved anywhere. The app is just for the demo purposes.

app_screenshot.png

Getting Started

First, run the development server:

npm run dev
# or
yarn dev
# or
pnpm dev

Open http://localhost:1310 with your browser to see the result.

On the root page / you can see the login form. You can enter any email and password. After the success login, You'll be redirected to the /profile page. This page is available only for the logged in users. If you try to open it without the login, you'll be redirected to the login page.