Sing App Angular Template & .NET Core 3

Gravatar

Hi flatlogic support team,

I've purchased an additional .NET Core 3, how can I use it for the template.

User profile image
Colin Doylend mod

Hi @evanTseng,

Thanks for purchasing the template. You need to set up the project locally and start building on top of it.

I would be glad to help you more if you are more specific.

Thank you

Gravatar

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' },

Cookie Consent

By continuing to browse or by clicking 'OK', you agree to the storing of cookies on your device to enhance your site experience and for analytical purposes. To learn more about how we use cookies, please see our cookies policy.