Skip to content

Latest commit

 

History

History
20 lines (9 loc) · 1.55 KB

README.md

File metadata and controls

20 lines (9 loc) · 1.55 KB

This code was auto-generated using Jabit! code generator as a sample demonstration in a blog I wrote.

You can find the blog here https://www.linkedin.com/pulse/net-core-react-full-stack-code-generator-ronald-madrid/.

MyAwesomeProject

Alt Text

Open the solution in Visual Studio and do a rebuild-all. Once build is complete go inside the MyAwesomeProject.Api folder and execute the codefirst-migration.bat to build the database. The migration script assumes that you have SQLExpress installed locally. Otherwise, you will need to correct your connection string inside the app appSettings.json.

Alt Text Alt Text

When code first code migration is complete we should be able to run our application. Hit F5 and wait for the swagger page to appear. Do take note of the URL, particularly the port number, as we will have to tell the React front-end that this is the server address that we will be connecting to.

Alt Text