![](/emirmorgan/next-commerce/raw/master/client\public\github-images\logo-light.png)
NEXT_PUBLIC_BASE_URL=http://localhost:3000/
NEXT_PUBLIC_API_URL=http://localhost:5009/api
NEXT_PUBLIC_TOKEN_SECRET=THERE IS NO KEY HERE JUST FEW RANDOM WORDS TO MAKE THE KEY HAS 512 BITS
NEXT_PUBLIC_STRIPE_PUBLISHABLE_KEY=SECRET
You can find your Stripe publishable key on your Stripe dashboard.
Update the DefaultConnection
string with your database credentials.
"ConnectionStrings": {
"DefaultConnection": "Host=localhost;Port=5432;Database=commerce_db;Username=admin;Password=admin;"
}
Update the Secret
string with your token secret.
"JWTKey": {
"ValidAudience": "https://localhost:5009",
"ValidIssuer": "https://localhost:5009",
"TokenExpiryTimeInHour": "24",
"Secret": "THERE IS NO KEY HERE JUST FEW RANDOM WORDS TO MAKE THE KEY HAS 512 BITS"
}
Update the PublishableKey
and SecretKey
strings with your API keys. You can find these keys on your Stripe dashboard.
"Stripe": {
"PublishableKey": "SECRET",
"SecretKey": "SECRET"
}
cd client | npm run dev
# or
cd client | yarn dev
# or
cd client | pnpm dev
And last, run the server:
cd server | dotnet watch
Website will be active after run client and server, open http://localhost:3000 with your browser to see the result.
+ Products
- Get Products Filtered (Pagination Compatible)
- Get Spesific Product
- Add/Remove Favorites
+ Login
- Login/Register (JWT Authentication)
+ Profile
- Change the Password
+ Address
- Create/Delete/Update Address
- Orders and Details
+ Shop Cart (localStorage)
+ Dashboard
+ Statistics
- Visitors(for Chart.JS)
- Sales(for Chart.JS)
- Total Customer
- Total Products
- Total Orders
+ Products
- Create/Delete Product
+ Product Update Options
- Add/Remove Variants
- Add/Remove Stock
- Update the Price
+ Orders
- List Orders by Sort (Pagination Compatible)
- Get the Order by Id
+ Payment(Stripe Payment Infrastructure)
+ Custom Payment Page
+ Custom Invoice
- Next.JS
- ASP.NET
- PostgreSQL
- Stripe (Payment Infrastructure)
- Typescript
- TailwindCSS
- Formik / Yup
- Chart.JS