Skip to content

Commit 58a7a43

Browse files
committed
important changes in the project (upgrading prisma package and some important changes in the README.md file
1 parent 2176ee5 commit 58a7a43

File tree

6 files changed

+80
-89
lines changed

6 files changed

+80
-89
lines changed

README.md

Lines changed: 24 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,8 @@ A real study case application how to apply Node.Js with:
1313
## 🚀 Resources Used
1414

1515
- **[Visual Studio Code](https://code.visualstudio.com/?WT.mc_id=javascript-52133-gllemos)**
16-
- **[Node.js 14.x](https://nodejs.org/en/)**
16+
- **[Node.js 16.x](https://nodejs.org/en/)**
17+
- **[Prisma](https://www.prisma.io/)**
1718
- **[Azure Functions Core Tools 4.x](https://docs.microsoft.com/en-us/azure/azure-functions/functions-run-local?tabs=v4%2Cwindows%2Ccsharp%2Cportal%2Cbash)**
1819
- **[Azure SQL](https://azure.microsoft.com/products/azure-sql/database/?WT.mc_id=javascript-52133-gllemos)**
1920
- **[Azure Free Account](https://azure.microsoft.com/?WT.mc_id=javascript-52133-gllemos)**
@@ -59,23 +60,23 @@ Below you can see all the recorded videos about the application's development.
5960
| **[Vídeo 18 - Dev Tools Overview & Installation]()** | In this video we are going to install all the necessary dev tools that we will go into need to develop our application in the BackEnd side. |
6061
| **[Vídeo 19 - Configuring the .devContainer folder]()** | In this video we will understand the importance around to create a .devContainer folder in any project and a little overview about it! |
6162
| **[Vídeo 20 - Important Resources & Recap]()** | Recap what we saw during the module 04 and preparing for what is coming! |
62-
| **[Vídeo 21 - Application Overview]()** | In this video we will take a first look around the BackEnd application that we are going to build! |
63-
| **[Vídeo 22 - Forking the Front-End project]()** | In this video we are going to forking/cloning the Front-End starter project!
64-
| **[Vídeo 23 - Structuring the Back-End project]()** | In this video we are going to structuring the BackEnd project using Azure Functions. |
65-
| **[Vídeo 24 - Creating Database Server]()** | In this video we are going to create our Database Server using the Azure Portal. |
66-
| **[Vídeo 25 - Creating Database]()** | Now we already created our Database server, it's time to create our Employee Database using Azure Portal. |
67-
| **[Vídeo 26 - Creating Shadow Database]()** | In this video we are going to create shadow database using Azure Portal. |
68-
| **[Vídeo 27 - Installing Packages]()** | In this video we are going to install all the necessary packages for our project! |
69-
| **[Vídeo 28 - Modeling Database with Prisma]()** | In this video we are going to learn how to initialize and modeling our database using Prisma. |
70-
| **[Vídeo 29 - Using Prisma Migrations]()** | In this video we are going to understand how Prisma migrations works! |
71-
| **[Vídeo 30 - Using Prisma Studio]()** | In this video we are going to take a look how Prisma Studio works and use it to manipulate our database. |
72-
| **[Vídeo 31 - Developing 'CreateEmployee']()** | In this video we're going to create our first function: Create Employee using Prisma & Azure Functions |
73-
| **[Vídeo 32 - Developing 'GetEmployees']()** | In this video we are going to develop the functionality to list all the employees using Azure Functions. |
74-
| **[Vídeo 33 - Developing 'GetEmployee']()** | In this video we are going to develop the functionality to return an employee by Id using Azure Functions. |
75-
| **[Vídeo 34 - Developing 'UpdateEmployee']()** | In this video we are going to develop the functionality to update an employee by Id using Azure Functions. |
76-
| **[Vídeo 35 - Developing 'DeleteEmployee']()** | In this video we are going to develop the functionality to delete an employee by Id using Azure Functions. |
77-
| **[Vídeo 36 - Deploying the App with ASWA]()** | In this video we are going to deploy our application using Azure Static Web Apps with GitHub Actions Integration! |
78-
| **[Vídeo 37 - Next Steps]()** | In this video we are going to see the next steps that you should see after this course! |
63+
| **[Vídeo 21 - Application Overview]()** | In this video we will take a first look around the BackEnd application that we are going to build! |
64+
| **[Vídeo 22 - Forking the Front-End project]()** | In this video we are going to forking/cloning the Front-End starter project! |
65+
| **[Vídeo 23 - Structuring the Back-End project]()** | In this video we are going to structuring the BackEnd project using Azure Functions. |
66+
| **[Vídeo 24 - Creating Database Server]()** | In this video we are going to create our Database Server using the Azure Portal. |
67+
| **[Vídeo 25 - Creating Database]()** | Now we already created our Database server, it's time to create our Employee Database using Azure Portal. |
68+
| **[Vídeo 26 - Creating Shadow Database]()** | In this video we are going to create shadow database using Azure Portal. |
69+
| **[Vídeo 27 - Installing Packages]()** | In this video we are going to install all the necessary packages for our project! |
70+
| **[Vídeo 28 - Modeling Database with Prisma]()** | In this video we are going to learn how to initialize and modeling our database using Prisma. |
71+
| **[Vídeo 29 - Using Prisma Migrations]()** | In this video we are going to understand how Prisma migrations works! |
72+
| **[Vídeo 30 - Using Prisma Studio]()** | In this video we are going to take a look how Prisma Studio works and use it to manipulate our database. |
73+
| **[Vídeo 31 - Developing 'CreateEmployee']()** | In this video we're going to create our first function: Create Employee using Prisma & Azure Functions |
74+
| **[Vídeo 32 - Developing 'GetEmployees']()** | In this video we are going to develop the functionality to list all the employees using Azure Functions. |
75+
| **[Vídeo 33 - Developing 'GetEmployee']()** | In this video we are going to develop the functionality to return an employee by Id using Azure Functions. |
76+
| **[Vídeo 34 - Developing 'UpdateEmployee']()** | In this video we are going to develop the functionality to update an employee by Id using Azure Functions. |
77+
| **[Vídeo 35 - Developing 'DeleteEmployee']()** | In this video we are going to develop the functionality to delete an employee by Id using Azure Functions. |
78+
| **[Vídeo 36 - Deploying the App with ASWA]()** | In this video we are going to deploy our application using Azure Static Web Apps with GitHub Actions Integration! |
79+
| **[Vídeo 37 - Next Steps]()** | In this video we are going to see the next steps that you should see after this course! |
7980

8081
## 🔥 How to run the application locally?
8182

@@ -85,15 +86,15 @@ This repo uses [Development Containers](https://code.visualstudio.com/docs/remot
8586

8687
To execute locally this project you will need to follow the steps bellow:
8788

88-
1. First you need to go to the folder: `client` and run the command:
89+
1. First go to the folder: `client` and run the command:
8990

9091
```bash
91-
> npm install
92+
npm install
9293
```
9394
2. After to install all the Node.Js packages, now you can execute the command:
9495

9596
```bash
96-
> npm run serve
97+
npm run serve
9798
```
9899

99100
3. Now, open your browser on `http://localhost:8080/`. Thanks to the configuration defined in `vue.config.js` all requests will be automatically proxied to the local Azure Functions host. You can learn more about the integrated proxy in vue client here: [VUE CLI Configuration Reference](https://cli.vuejs.org/config/#devserver)
@@ -122,7 +123,7 @@ Unless you have changed the database name, login and password in the Dockerfile
122123

123124
If you want to test Azure SQL database, to make sure everything will work perfectly even when deployed on Azure, you need to create an Azure SQL database before.
124125

125-
The are different ways you can create an Azure SQL Database. Using the Portal, using AZ CLI or Powershell. The easiest is using the Portal, and you can have see complete walk-through in this recording: [Demo: Deploy Azure SQL Database | Azure SQL for beginners (Ep. 14)](https://www.youtube.com/watch?v=wiBC4OxFX60&list=PLlrxD0HtieHi5c9-i_Dnxw9vxBY-TqaeN&index=21). If you prefer reading instead of watching, here a complete quickstart guide available, with detailed steps for each option: [Quickstart: Create an Azure SQL Database single database](https://docs.microsoft.com/en-us/azure/azure-sql/database/single-database-create-quickstart?view=azuresql&tabs=azure-portal). If you want something more concise and direct, you can to follow the simple 6-steps guide available here: [Create and connect to an Azure SQL DB](https://dev.to/azure/create-and-connect-to-an-azure-sql-db-9k0).
126+
The are different ways you can create an Azure SQL Database. Using the Portal, using AZ CLI or Powershell. The easiest is using the Portal, and you can have see complete walk-through in this recording: **[Demo: Deploy Azure SQL Database | Azure SQL for beginners (Ep. 14)](https://www.youtube.com/watch?v=wiBC4OxFX60&list=PLlrxD0HtieHi5c9-i_Dnxw9vxBY-TqaeN&index=21)**. If you prefer reading instead of watching, here a complete quickstart guide available, with detailed steps for each option: **[Quickstart: Create an Azure SQL Database single database](https://docs.microsoft.com/en-us/azure/azure-sql/database/single-database-create-quickstart?view=azuresql&tabs=azure-portal)**. If you want something more concise and direct, you can to follow the simple 6-steps guide available here: **[Create and connect to an Azure SQL DB](https://dev.to/azure/create-and-connect-to-an-azure-sql-db-9k0)**.
126127

127128
Make sure you create *two* Azure SQL databases:
128129

@@ -145,7 +146,7 @@ SHADOW_DATABASE_URL="sqlserver://DB_SERVER_NAME.database.windows.net:1433;databa
145146

146147
<details><summary><b>Project: api</b></summary>
147148

148-
1. First you need to go to the folder: `api` and run the command:
149+
1. First go to the folder: `api` and run the command:
149150

150151
```bash
151152
> npm install

0 commit comments

Comments
 (0)