admin-dashboards / nextjs-argon-dashboard

MIT License
0 stars 0 forks source link

NextJS Argon Dashboard

Start your development with a Dashboard for NextJ, Bootstrap, React and Reactstrap. It is open source, free and it features many components that can help you create amazing websites.


This project comes with a Authentication & Dark-Mode enhancements - Provided by Admin Dashboards service.

Product Image


✨ Quick start

To run the project on your device, make sure you have node environment(v14+) installed on it. Clone the project via Git CLI or download the zip.

$ npm i
$ npm run dev

After that you can visit the demo at the mentioned URL in your console(usually it is http://localhost:3000).


✨ Authentication

Authentication is now available via Github and Google OAuth provided by next-auth.

for each provider in [...nextauth].js a client id and a client secret are needed. these secrets are generated by the oauth provider. if you are running the project locally, then you have to create a .env file in the project root and add your secrets to it as mentioned below:

GOOGLE_CLIENT_ID="YOUR_GOOGLE_CLIENT_ID"
GOOGLE_CLIENT_SECRET="YOUR_GOOGLE_CLIENT_SECRET"
GITHUB_CLIENT_ID="YOUR_GITHUB_CLIENT_ID"
GITHUB_CLIENT_SECRET="YOUR_GITHUB_CLIENT_SECRET"

alternativley, if you are deploying the project, you should add the mentioned key value pairs as environment variables to your depolyment settings. in addition, there is one more environment variable to add here:

SECRET="WHAT_EVER"


Note: The OAUth testing in local environments requires an HTTPS connection

More Info: https://github.com/vercel/next.js/discussions/10935#discussioncomment-2236301

https://github.com/cameronhunter/local-ssl-proxy


✨ Deployment

the easiest way to deploy a next project including this one, is using vercel. vercel is a powerfull tool for deploying next projects created by the very same team who created nextjs. create a vercel account and import your github repository. choose a repo to start with and vercel will do the rest.


✨ Dark-Mode

This demo contains a feature to change pages' theme. dark and light themes are available.


✨ Fully Coded Components

NextJS Argon Dashboard is built with over 100 individual components, giving you the freedom of choosing and combining. All components can take variations in color, that you can easily modify using SASS files. You will save a lot of time going from prototyping to full-functional code, because all elements are implemented. This Dashboard is coming with pre-built examples, so the development process is seamless, switching from our pages to the real website is very easy to be done. Every element has multiple states for colors, styles, hover, focus, that you can easily access and use.


✨ Documentation

Learn how to use this starter by accessing Next JS Argon Dashboard - Documentation.


✨ Codebase Structure

Within the download you'll find the following directories and files:

NextJS Argon Dashboard
.
β”œβ”€β”€ CHANGELOG.md
β”œβ”€β”€ ISSUE_TEMPLATE.md
β”œβ”€β”€ LICENSE.md
β”œβ”€β”€ README.md
β”œβ”€β”€ Documentation
β”‚Β Β  └── documentation.html
β”œβ”€β”€ assets
β”‚Β Β  β”œβ”€β”€ css
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ nextjs-argon-dashboard.css
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ nextjs-argon-dashboard.css.map
β”‚Β Β  β”‚Β Β  └── nextjs-argon-dashboard.min.css
β”‚Β Β  β”œβ”€β”€ fonts
β”‚Β Β  β”œβ”€β”€ img
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ brand
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ icons
β”‚Β Β  β”‚Β Β  β”‚Β Β  └── common
β”‚Β Β  β”‚Β Β  └── theme
β”‚Β Β  β”œβ”€β”€ plugins
β”‚Β Β  β”‚Β Β  └── nucleo
β”‚Β Β  β”‚Β Β      β”œβ”€β”€ css
β”‚Β Β  β”‚Β Β      β”‚Β Β  β”œβ”€β”€ nucleo-svg.css
β”‚Β Β  β”‚Β Β      β”‚Β Β  └── nucleo.css
β”‚Β Β  β”‚Β Β      └── fonts
β”‚Β Β  └── scss
β”‚Β Β      β”œβ”€β”€ argon-dashboard
β”‚Β Β      β”‚Β Β  β”œβ”€β”€ bootstrap
β”‚Β Β      β”‚Β Β  β”‚Β Β  β”œβ”€β”€ mixins
β”‚Β Β      β”‚Β Β  β”‚Β Β  └── utilities
β”‚Β Β      β”‚Β Β  β”œβ”€β”€ custom
β”‚Β Β      β”‚Β Β  β”‚Β Β  β”œβ”€β”€ alerts
β”‚Β Β      β”‚Β Β  β”‚Β Β  β”œβ”€β”€ avatars
β”‚Β Β      β”‚Β Β  β”‚Β Β  β”œβ”€β”€ badges
β”‚Β Β      β”‚Β Β  β”‚Β Β  β”œβ”€β”€ buttons
β”‚Β Β      β”‚Β Β  β”‚Β Β  β”œβ”€β”€ cards
β”‚Β Β      β”‚Β Β  β”‚Β Β  β”œβ”€β”€ charts
β”‚Β Β      β”‚Β Β  β”‚Β Β  β”œβ”€β”€ close
β”‚Β Β      β”‚Β Β  β”‚Β Β  β”œβ”€β”€ custom-forms
β”‚Β Β      β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dropdowns
β”‚Β Β      β”‚Β Β  β”‚Β Β  β”œβ”€β”€ footers
β”‚Β Β      β”‚Β Β  β”‚Β Β  β”œβ”€β”€ forms
β”‚Β Β      β”‚Β Β  β”‚Β Β  β”œβ”€β”€ headers
β”‚Β Β      β”‚Β Β  β”‚Β Β  β”œβ”€β”€ icons
β”‚Β Β      β”‚Β Β  β”‚Β Β  β”œβ”€β”€ list-groups
β”‚Β Β      β”‚Β Β  β”‚Β Β  β”œβ”€β”€ maps
β”‚Β Β      β”‚Β Β  β”‚Β Β  β”œβ”€β”€ masks
β”‚Β Β      β”‚Β Β  β”‚Β Β  β”œβ”€β”€ mixins
β”‚Β Β      β”‚Β Β  β”‚Β Β  β”œβ”€β”€ modals
β”‚Β Β      β”‚Β Β  β”‚Β Β  β”œβ”€β”€ navbars
β”‚Β Β      β”‚Β Β  β”‚Β Β  β”œβ”€β”€ navs
β”‚Β Β      β”‚Β Β  β”‚Β Β  β”œβ”€β”€ paginations
β”‚Β Β      β”‚Β Β  β”‚Β Β  β”œβ”€β”€ popovers
β”‚Β Β      β”‚Β Β  β”‚Β Β  β”œβ”€β”€ progresses
β”‚Β Β      β”‚Β Β  β”‚Β Β  β”œβ”€β”€ separators
β”‚Β Β      β”‚Β Β  β”‚Β Β  β”œβ”€β”€ tables
β”‚Β Β      β”‚Β Β  β”‚Β Β  β”œβ”€β”€ type
β”‚Β Β      β”‚Β Β  β”‚Β Β  β”œβ”€β”€ utilities
β”‚Β Β      β”‚Β Β  β”‚Β Β  └── vendors
β”‚Β Β      β”‚Β Β  └── docs
β”‚Β Β      β”œβ”€β”€ nextjs-argon-dashboard.scss
β”‚Β Β      └── react
β”‚Β Β          β”œβ”€β”€ bootstrap
β”‚Β Β          β”œβ”€β”€ plugins
β”‚Β Β          └── react-differences.scss
β”œβ”€β”€ components
β”‚Β Β  β”œβ”€β”€ Footers
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ AdminFooter.js
β”‚Β Β  β”‚Β Β  └── AuthFooter.js
β”‚Β Β  β”œβ”€β”€ Headers
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ Header.js
β”‚Β Β  β”‚Β Β  └── UserHeader.js
β”‚Β Β  β”œβ”€β”€ Navbars
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ AdminNavbar.js
β”‚Β Β  β”‚Β Β  └── AuthNavbar.js
β”‚Β Β  β”œβ”€β”€ PageChange
β”‚Β Β  β”‚Β Β  └── PageChange.js
β”‚Β Β  └── Sidebar
β”‚Β Β      └── Sidebar.js
β”œβ”€β”€ layouts
β”‚Β Β  β”œβ”€β”€ Admin.js
β”‚Β Β  └── Auth.js
β”œβ”€β”€ pages
β”‚Β Β  β”œβ”€β”€ 404.js
β”‚Β Β  β”œβ”€β”€ _app.js
β”‚Β Β  β”œβ”€β”€ _document.js
β”‚Β Β  β”œβ”€β”€ _error.js
β”‚Β Β  β”œβ”€β”€ admin
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ dashboard.js
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ icons.js
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ maps.js
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ profile.js
β”‚Β Β  β”‚Β Β  └── tables.js
β”‚Β Β  β”œβ”€β”€ auth
β”‚Β Β  β”‚Β Β  β”œβ”€β”€ login.js
β”‚Β Β  β”‚Β Β  └── register.js
β”‚Β Β  └── index.js
β”œβ”€β”€ variables
β”‚   └── charts.js
β”œβ”€β”€ routes.js
β”œβ”€β”€ next.config.js
└── package.json


✨ Licensing



NextJS Argon Dashboard - Provided by Admin Dashboards