Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hiimlawtsimp1e/datn-lkdt
ASP.NET API & EF Core 6.0, DDD, JWT, Nextjs 14, server-action, zustand, tailwindcss
https://github.com/hiimlawtsimp1e/datn-lkdt
asp-net-core asp-net-core-web-api c-sharp ddd-patterns dependency-injection domain-driven-design eav-model ef-core jwt net-6-0 nextjs nextjs14 repository-pattern server-actions tailwindcss typescript zustand
Last synced: 3 months ago
JSON representation
ASP.NET API & EF Core 6.0, DDD, JWT, Nextjs 14, server-action, zustand, tailwindcss
- Host: GitHub
- URL: https://github.com/hiimlawtsimp1e/datn-lkdt
- Owner: HiImLawtSimp1e
- License: mit
- Created: 2024-09-12T21:57:13.000Z (4 months ago)
- Default Branch: hungnq
- Last Pushed: 2024-10-05T05:11:20.000Z (4 months ago)
- Last Synced: 2024-10-09T12:02:27.088Z (3 months ago)
- Topics: asp-net-core, asp-net-core-web-api, c-sharp, ddd-patterns, dependency-injection, domain-driven-design, eav-model, ef-core, jwt, net-6-0, nextjs, nextjs14, repository-pattern, server-actions, tailwindcss, typescript, zustand
- Language: TypeScript
- Homepage:
- Size: 6.74 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Website linh kiện điện tử
Đồ án tốt nghiệp nhóm SD-18: Website linh kiện điện tử
Bạn cần cài đặt .NET 6.0 SDK runtime & Node.js 18.0 [*tại đây*](https://nodejs.org/en/download/package-manager)
## 🚀 Quick start
1. **Step 1.**
Clone project bằng [*git bash*](https://git-scm.com/downloads)
```sh
git clone https://github.com/tonnbph26190/DATN_LKDT.git
```
1. **Step 2.**
```sh
cd ./DATN_LKDT
```
* Thay đổi connection string tại `shop.Infrastructure/appsettings.json` & `shop.BackendApi/appsettings.json`
```sh
"ConnectionStrings": {
"DefaultConnection": "server=localhost\\sqlexpress;database=shop_db;trusted_connection=true"
},
```
* Add migration in `shop.Infrastructure`
```
add-migration InitialDb
```
* Seeding data to database
```
update-database
```
* Run hosting backend with IIS(port 5000)
```
http://localhost:5000
```
1. **Step 3.**
```sh
cd ./DATN_FE
```
* Cài node_module packages cho frontend app:
```sh
npm i
```
* Chạy frontend(port 3000):
```
npm run dev
```
* Shop page
```
http://localhost:3000
```
* Admin dashboard page
```
http://localhost:3000/dashboard
```
* Biến môi trường đã được config sẵn tại `.env.local`:```
NEXT_PUBLIC_TINYMCE_API_KEY=
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=""
CLOUDINARY_API_KEY=""
CLOUDINARY_API_SECRET=""
```