Angular/React + .Net Core Base Project with some TDD, DDD and CQRS approaches
Make Demo Run:
- Clean and Build the Visual Studio Solution
- Select BaseStartupProject.Infrastructure as startup project
- Open Package Manager Console, select BaseStartupProject.Infrastructure as default Project.
- Run Command "Update-Database". Local Database should be created.
- In visual studio on DataBase Connections add a new Sql Server Connection with server name "(LocalDb)\MSSQLLocalDB" and database "BaseStartupDemo"
- Open a new query and run "INSERT INTO [dbo].[Configurations] ([Name], [Value]) VALUES (N'tokenEncriptKey', N'[SOME_ENCRIPTION_KEY]')"
- Select BaseStartupProject.API as startup project
- Run BaseStartupProject.API
If you want to run the Angular APP:
- open "angular-app" folder
- make sure you have Node.js and Angular Cli installed in your machine
- run "npm i"
- run "ng serve"
- Open in a browser the Angular App in "localhost:4200"
If you want to run the React APP:
- open "react-app" folder
- make sure you have Node.js
- run "npm i"
- react-scripts start
- Open in a browser the React App in "localhost:3000"
I hope you like this project and that it will be useful to start your next dream project.