🎅 HOHOHO! 85%OFF Flatlogic Generator! 🎄Build your custom CRM, ERP, or SaaS app with full code ownership this Christmas 🎁

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