https://github.com/migueldcdev/login-app
A Next.js application featuring JWT authentication for secure user login and session management.
https://github.com/migueldcdev/login-app
ci-cd github-actions nextjs playwright react-testing-library tailwindcss typescript vitest
Last synced: 5 months ago
JSON representation
A Next.js application featuring JWT authentication for secure user login and session management.
- Host: GitHub
- URL: https://github.com/migueldcdev/login-app
- Owner: migueldcdev
- Created: 2024-09-16T17:44:34.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-07T10:48:05.000Z (over 1 year ago)
- Last Synced: 2025-02-07T11:31:18.499Z (over 1 year ago)
- Topics: ci-cd, github-actions, nextjs, playwright, react-testing-library, tailwindcss, typescript, vitest
- Language: TypeScript
- Homepage: https://regal-muffin-fe8d58.netlify.app/
- Size: 291 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## Login app
This is a Next.js app with a Login, Sign up, Home and Error page. The user can create a profile or login with the proper credentials, the backend issues a JWT Session Token to persist the session. All user data is mocked.
For test the app the user email: *user@mail.com* and user password: _user_
### Installation
First, install the project dependencies:
```bash
npm install
```
### Development
To start the development server and begin working on your project, run:
```bash
npm run dev
```
### Testing
To run the test suite and ensure everything is functioning correctly, use:
```bash
npm run test
```
To run playwright:
```bash
npx playwright test
```
To run playwright in a specific browser:
```bash
npx playwright test --project=chromium
```
To run playwiright in UI mode:
```bash
npx playwright test --ui
```
### Code formatting
To format your code using Prettier, execute:
```bash
npx prettier . --write
```