An admin dashboard built using Next.js framework and Tailwind CSS
Create a .env
file in the root of your project and add the following environment variables:
// Postgress Database
POSTGRES_URL=
POSTGRES_PRISMA_URL=
POSTGRES_URL_NON_POOLING=
POSTGRES_USER=
POSTGRES_HOST=
POSTGRES_PASSWORD=
POSTGRES_DATABASE=
// Auth
AUTH_SECRET=
AUTH_URL=http://localhost:3000
Storage
tab once your project is deployed.env.local
tab, click Show secret and Copy Snippet. Make sure you reveal the secrets before copying them..env.example
file to .env.
Paste in the copied contents from Vercel.Now that your database has been created, let's seed it with some initial data.
To seed your database, run the following command
npm run seed
To start your local server, run the following command:
npm run dev
Once you've seeded your database with the initial data, the default login creadentials are:
Email: [email protected]
Password: 123456
"Great dashboards are built with great attention to detail. Keep iterating and improving!"
I welcome all kinds of contributions! Feel free to open issues or submit pull requests.