{"id":25271373,"url":"https://github.com/andoniat/next_dashboard_tutorial","last_synced_at":"2025-04-06T07:17:21.416Z","repository":{"id":214982871,"uuid":"733216840","full_name":"AndoniAT/Next_Dashboard_Tutorial","owner":"AndoniAT","description":"Tutorial to learn Next.js","archived":false,"fork":false,"pushed_at":"2024-03-21T20:23:47.000Z","size":1182,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T12:46:15.767Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://next-dashboard-tutorial-rust.vercel.app","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AndoniAT.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-18T20:35:12.000Z","updated_at":"2023-12-18T20:40:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"6c583673-ece9-462f-a688-241c4dd4614b","html_url":"https://github.com/AndoniAT/Next_Dashboard_Tutorial","commit_stats":null,"previous_names":["andoniat/next_dashboard_tutorial"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndoniAT%2FNext_Dashboard_Tutorial","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndoniAT%2FNext_Dashboard_Tutorial/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndoniAT%2FNext_Dashboard_Tutorial/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AndoniAT%2FNext_Dashboard_Tutorial/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AndoniAT","download_url":"https://codeload.github.com/AndoniAT/Next_Dashboard_Tutorial/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247445683,"owners_count":20939961,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-12T12:32:56.977Z","updated_at":"2025-04-06T07:17:21.392Z","avatar_url":"https://github.com/AndoniAT.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003ch1 style=\"text-align:center\"\u003e NEXT.JS Course\u003c/h1\u003e\n\u003ch6 style=\"text-align:center\"\u003eAndoni ALONSO TORT\u003c/h6\u003e\n\u003cbr/\u003e\nTutorial from the official site of [Nextjs](https://nextjs.org/learn/dashboard-app).\n\nTo run the project :\n    - `npm install`\n    - `npm run dev`\n\n\nSi vous voulez vour les erreurs d'accesibilité à l'aide de eslin, exécuter la commande `npm run lint`.\n\n    If for exemple, we have an Image without alt attribute, lint will detect it and prevent you with the following message like this below:\n\n    ./app/ui/invoices/table.tsx\n    88:23  Warning: Image elements must have an alt prop, either with meaningful text, or an empty string for decorative images.  jsx-a11y/alt-text\n\n    If you tried to deploy your application to Vercel, the warning would also show up in the build logs. \n\n\n\u003ch2\u003eNextAuth.js\u003c/h2\u003e\n\nWe will be using NextAuth.js to add authentication to our application. \n\nNextAuth.js abstracts away much of the complexity involved in managing sessions, sign-in and sign-out, and other aspects of authentication. While you can manually implement these features, the process can be time-consuming and error-prone. NextAuth.js simplifies the process, providing a unified solution for auth in Next.js applications.\n\n    \u003e npm install next-auth@beta\n\n    installing the beta version of NextAuth.js, which is compatible with Next.js 14.\n\nNext, generate a secret key for your application. This key is used to encrypt cookies, ensuring the security of user sessions. You can do this by running the following command in your terminal:\n\n    \u003e openssl rand -base64 32\n\nThen, in your .env file, add your generated key to the AUTH_SECRET variable:\n\n    AUTH_SECRET=your-secret-key\n\nFor auth to work in production, you'll need to update your environment variables in your Vercel project too. Check out this [guide](https://vercel.com/docs/projects/environment-variables) on how to add environment variables on Vercel.\n\n\u003ch5\u003eTry it out\u003c/h5\u003e\nNow, try it out. You should be able to log in and out of your application using the following credentials:\n\nEmail: user@nextmail.com\nPassword: 123456\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandoniat%2Fnext_dashboard_tutorial","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandoniat%2Fnext_dashboard_tutorial","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandoniat%2Fnext_dashboard_tutorial/lists"}