- PostgreSQL
- Visual Studio .NET Core SDK 3.1.0
- Node js
- Update the connection string in appsettings.json in AppointmentScheduler
- Update the ValidAudience with the address of the client app including the port in the appsettings.json(Default is http://localhost:3000)
- Update the ValidIssuer with the address of the client app including the port in the appsettings.json(Default is https://localhost:5001)
- under AppointmentScheduler\Properties\launchsettings.json update the applicationUrl with the backend app http and https addresses if both exist or either
- Build whole solution.
- In Solution Explorer, make sure that AppointmentScheduler is selected as the Startup Project
- on Postgres create a database with the name matching the one on the appsettings.json
- In Visual Studio, press "Control + F5".
- PostgreSQL
- Visual Studio .NET Core SDK 3.1.0
- Update the connection string in appsettings.json in AppointmentScheduler
- Update the ValidAudience with the address of the client app including the port in the appsettings.json(Default is http://localhost:3000)
- Update the ValidIssuer with the address of the client app including the port in the appsettings.json(Default is https://localhost:5001)
- under AppointmentScheduler\Properties\launchsettings.json update the applicationUrl with the backend app http and https addresses if both exist or either
- on Postgres create a database with the name matching the one on the appsettings.json
- In the terminal, navigate to the root directory type "dotnet build" and hit "Enter".
- In the terminal, navigate to the "AppointmentScheduler" type "dotnet run" and hit "Enter".
- Clone the repo
git clone [git url]]
- Go to your project folder from your terminal
- Run:
npm install
oryarn install
- Update the
REACT_APP_URL
in the .env file with the valid backend API endpoint - After install, run:
npm run start
oryarn start
- It will open your browser(http://localhost:3000)
To enable basic Google Analytics page tracking, you can add "REACT_APP_GOOGLE_ANALYTICS" variable in .env(or create env.production) file. For example, REACT_APP_GOOGLE_ANALYTICS=xxxxxx
like this.
- dotnet core 3.1
- React
- Postgres
For the api follow this instructions For the client follow this instructions