Hi flatlogic support team,
I've purchased an additional .NET Core 3, how can I use it for the template.
Hi @Philip Daineka,
I am already launching the aspnetcorebackend API, how do I configure the configuration?
aspnet core backend api for postman request --> url: http://localhost:5001/api/Account/login mathod: post body: { "Email": "[email protected]", "Password": "abc123" }
response --> { "accessToken": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJod......" }
angular file: app.config.ts
const hostApi = !environment.production ? 'http://localhost' : 'https://flatlogic-node-backend.herokuapp.com';
const portApi = !environment.production ? 8080 : '';
const baseURLApi = ${hostApi}${portApi ?
:${portApi}:
}
;
@Injectable() export class AppConfig { config = { name: 'sing', title: 'Sing Dashboard App with Angular 11.2 support by Flatlogic', version: '4.0.0', remote: 'https://flatlogic-node-backend.herokuapp.com', isBackend: environment.backend, hostApi, portApi, baseURLApi, auth: { email: '[email protected]', password: 'password' },