Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/yanuarprayoga9/dashboard-cms_admin
An application to manage a store store url=https://store-path-client.vercel.app/ admin url=https://dashboard-cms-admin.vercel.app/ EMAIL = [email protected] PASSWORD=yanu12345#
https://github.com/yanuarprayoga9/dashboard-cms_admin
approuter nextjs shadcn-ui typescript
Last synced: about 2 months ago
JSON representation
An application to manage a store store url=https://store-path-client.vercel.app/ admin url=https://dashboard-cms-admin.vercel.app/ EMAIL = [email protected] PASSWORD=yanu12345#
- Host: GitHub
- URL: https://github.com/yanuarprayoga9/dashboard-cms_admin
- Owner: Yanuarprayoga9
- License: mit
- Created: 2024-01-30T04:16:59.000Z (11 months ago)
- Default Branch: master
- Last Pushed: 2024-02-19T08:10:42.000Z (11 months ago)
- Last Synced: 2024-02-20T04:39:36.887Z (11 months ago)
- Topics: approuter, nextjs, shadcn-ui, typescript
- Language: TypeScript
- Homepage: https://dashboard-cms-admin.vercel.app
- Size: 7.06 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
### Prerequisites
**Node version 14.x**
### Cloning the repository
```shell
git https://github.com/Yanuarprayoga9/Dashboard-CMS_Admin.git
```### Install packages
```shell
npm i
```### Setup .env file
```shell
# copy .env.example
cp env.example .env
``````js
# manual setup env
NEXT_PUBLIC_CLERK_PUBLISHABLE_KEY=
CLERK_SECRET_KEY=
NEXT_PUBLIC_CLERK_SIGN_IN_URL=/sign-in
NEXT_PUBLIC_CLERK_SIGN_UP_URL=/sign-up
NEXT_PUBLIC_CLERK_AFTER_SIGN_IN_URL=/
NEXT_PUBLIC_CLERK_AFTER_SIGN_UP_URL=/# This was inserted by `prisma init`:
# Environment variables declared in this file are automatically made available to Prisma.
# See the documentation for more detail: https://pris.ly/d/prisma-schema#accessing-environment-variables-from-the-schema# Prisma supports the native connection string format for PostgreSQL, MySQL, SQLite, SQL Server, MongoDB and CockroachDB.
# See the documentation for all the connection string options: https://pris.ly/d/connection-stringsDATABASE_URL=''
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=""
STRIPE_API_KEY=
FRONTEND_STORE_URL=http://localhost:3001
STRIPE_WEBHOOK_SECRET=
```### Connect to Mysql and Push Prisma
```shell
npx prisma generate
npx prisma db push
```### Start the app
```shell
npm run dev
```## Available commands
Running commands with npm `npm run [command]`
| command | description |
| :-------------- | :--------------------------------------- |
| `dev` | Starts a development instance of the app |