Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hiimlawtsimp1e/internshipproduct
ASP.NET API & EF Core 6.0, JWT, Nextjs 14, server-action, zustand, tailwindcss
https://github.com/hiimlawtsimp1e/internshipproduct
asp-net-core asp-net-core-web-api c-sharp dependency-injection eav-model ef-core jwt n-layer-architecture net-6-0 nextjs nextjs14 repository-pattern server-actions tailwindcss typescript zustand
Last synced: 2 months ago
JSON representation
ASP.NET API & EF Core 6.0, JWT, Nextjs 14, server-action, zustand, tailwindcss
- Host: GitHub
- URL: https://github.com/hiimlawtsimp1e/internshipproduct
- Owner: HiImLawtSimp1e
- License: mit
- Created: 2024-05-28T09:57:53.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-09-16T09:30:03.000Z (4 months ago)
- Last Synced: 2024-09-17T10:48:28.886Z (4 months ago)
- Topics: asp-net-core, asp-net-core-web-api, c-sharp, dependency-injection, eav-model, ef-core, jwt, n-layer-architecture, net-6-0, nextjs, nextjs14, repository-pattern, server-actions, tailwindcss, typescript, zustand
- Language: TypeScript
- Homepage:
- Size: 3.67 MB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Internship Product
This is my internship project.
You have already installed .NET 6.0 SDK runtime & Node.js 20.0 to run this project
## 🚀 Quick start
1. **Step 1.**
Clone the project
```sh
git clone https://github.com/HiImLawtSimp1e/InternshipProduct.git
```
1. **Step 2.**
* Move to backend
```sh
cd ./InternshipBackend
```
* Change connection string to your database in `API/appsettings.json` & `Data/Context`
```sh
"ConnectionStrings": {
"DefaultConnection": "server=localhost\\sqlexpress;database=nextecommerce;trusted_connection=true"
},
```
```
protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
{
optionsBuilder.UseSqlServer("server=localhost\\sqlexpress;database=nextecommerce; trusted_connection=true;");
}
```
* Import database
```
add-migration InitialDb
```
```
update-database
```
* Run hosting backend with VS2022
1. **Step 3.**
* Move to frontend
```sh
cd ./internship-frontend
```
* Install the project dependencies with:
```sh
npm i
```
* Add your cloud name as an environment variable inside `.env.local`:```
NEXT_PUBLIC_TINYMCE_API_KEY=
NEXT_PUBLIC_CLOUDINARY_CLOUD_NAME=""
CLOUDINARY_API_KEY=""
CLOUDINARY_API_SECRET=""
```
* Start the development server frontend with:
```
npm run dev
```