You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+10-6Lines changed: 10 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,18 +5,22 @@ This project was built with [Angular CLI](https://github.com/angular/angular-cli
5
5
## Instructions to replicate project
6
6
7
7
1.) Clone the project in your local system.
8
+
<br />
8
9
2.) If you are using VS Code for Angular, go to root directory and press npm install in command terminal for the project to fetch all required dependencies and packages.
10
+
<br />
9
11
3.) For the API, go to the appsettings.json file to change the SQL Data Source(Server) name which might be different for your configuration and Initial Catalog is Database name which you can choose as per your wish.
10
-
4.) Remove the existing migration folder from API Project. To initiate migrations, get the following Nuget packages first -
11
-
i.) EntityFramework Core.
12
-
ii.) EntityFramework Sql Server.
12
+
<br />
13
+
4.) Remove the existing migration folder from API Project. To initiate migrations, get the following Nuget packages first - <br />
14
+
i.) EntityFramework Core.<br />
15
+
ii.) EntityFramework Sql Server.<br />
13
16
iii.) EntityFramework Tools
14
-
17
+
<br />
15
18
Then in package manager terminal , start migrations by first command : **add-migration someName** followed by **update-database** command. If everything is Ok, you will get success message.
16
-
19
+
<br />
17
20
5.) Remember to run the API before you run the UI to avoid 404 errors.
21
+
<br />
18
22
6.) ng serve will run program for Angular and for API, it would be either dotnet run or direct Run button in Visual Studio.
19
-
23
+
<br />
20
24
**NOTE** - _Run the BookList SQL file content in SQL Server after migrations are done and tables are created._
0 commit comments