This is the Admin Panel for the third iteration of the shop. You can find the user interface section here.
- Framework: Next.js
- Database: Prisma, PostgreSQL
- Authentication: Clerk
- Styles: Tailwind CSS
- URL: My Favorite Shop Admin
- Username: store_admin
- Password: admin_54321
To deploy this project on your local machine, follow these steps:
-
Clone this project to your computer:
git clone https://github.com/ledminh/nail-supply-shop-v2
-
Install dependencies:
npm install
-
If you haven't done so already, please follow steps (3), (4), (5), and (6) in the "Deployment Instructions" section of this project. If you have already completed these steps, use the same values you generated during the deployment of that project and add them to the
.env
and.env.local
files. -
Create a new account on Clerk, add a new application to acquire NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY and CLERK_SECRET_KEY, then add them to your
.env.local
file. -
Add two following variables to your
.env.local
file:NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/ NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
-
Since this project uses Next.js, the remaining deployment process is similar to any other Next.js app. You can run the development server with the following command:
npm run dev
-
If you intend to deploy it to your own server, follow these steps:
-
Build the project:
npm run build
-
Start the server:
npm run start
-
Here's a list of tasks for the ongoing development of this project:
- Implement a customer login feature.
- Set up email confirmation for customers after checkout.
- Enhance the user interface.
- Incorporate additional animations to improve the user experience.