Coder Social home page Coder Social logo

datingapp-v6's People

Contributors

trycatchlearn avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

datingapp-v6's Issues

Unable to Upload Photo

Please when testing the upload in postman, I get this error.

Invalid Signature d2b6642172ad0ecc878fb59baa5afce59bfb829a. String to sign - 'timestamp=1604495253&transformation=c_fill,g_face,h_500,w_500'.

I can't seem to solve it

page not refresh in logout or registeration

hi dear @TryCatchLearn when I login into the site it's done and everything good. but when I logout the login elements not show! as well as when I click on the Register button (in home.component.html) Registration page is not displayed (In other words, when I click on the register button the register and learn more buttons hiding but the registration page is not shown)!
plz help me how should solve this problem.

nav.component.zip

Failed to load resource: net::ERR_CONNECTION_REFUSED CORS

I have downloaded this DatingApp in my local system and tried executing it.

When I run the application and click Login/Register, I am always getting preflight error in Network tab.

Even after specifying like below I am always getting the same error as 'Something unexpected went wrong'

app.UseCors(x => x.AllowAnyHeader() .AllowAnyMethod() .AllowCredentials() .WithOrigins("https://localhost:4200", "https://localhost:5001"));

When I go to Network tab and click login this is the error it is catching..

image

In Console, I am getting as..

Http failure response for https://localhost:5001/api/account/login: 0 Unknown Error

Please help me out on this @TryCatchLearn

Section 5 Episode 55. Creating user.ts is not reachable.

image
image
image

I have followed all of the steps in your video tutorials. Now, when i import the User from user.ts "((response: User)", there is an error occurred and I really don't know how to solve it. Please check the photos attached. Thank you sir!

Database update

I cant seem to figure out how i can delete some of the entries in the database. i do have a local image of the database using docker but is causing problems when i run it. this is my first time using dotnet and angular so would be great if someone could help. This is the docker error that i am encountering
image

and this is my program.cs file for line 47
image
can someone help me out with this?

Cloudinary Issue

image
Please tell me how can i fix it.

API.Middleware.ExceptionMiddleware[0]
Cloud name must be specified in Account!
System.ArgumentException: Cloud name must be specified in Account!
at CloudinaryDotNet.ApiShared..ctor(Account account)
at CloudinaryDotNet.Api..ctor(Account account)
at CloudinaryDotNet.Cloudinary..ctor(Account account)
at API.Services.PhotoService..ctor(IOptions`1 config) in C:\Users\Krish\Downloads\Project Data\Clozest\API\Services\PhotoService.cs:line 25

Bug with members filter: MembersService loads data of previous user

Hi, Neil!

I've noticed a bug by the end of the section 15:

When I login as the male account in the new browser tab I see females in the /members filter. That's fine. But when I logout at the same page and login as female account I can see females again in the filter. After some research I see that once MembersService constructor is called it's never called again until I refresh the page. So without refreshing user and userParams in the MembersService have values of the previous user.

How this issue can be solved?

PhotoManagement Challenge - Delete unapproved photo not working

Hi there,

While completing the photo management challenge I noticed that if you login as a user and go to Edit Photos, when you upload a photo, it's in an awaiting approval state. So if you try to delete this photo you will get an error.

In the UserController the DeletePhoto() is calling GetUserByUsernameAsync() which isn't ignoring query filters. I think it needs to use the GetUserByPhotoId() method instead

how should fix the error: Type 'AbstractControl' is missing the following properties from type 'FormControl'

i use angular 12.1.1. hi in section 12 (reactive forms) after creating the text-input component we and declare all inputs in the ts file and implement ControlValueAccessor interface I get error in text-input HTML file when I trying to type [formControl]="ngControl.control". error message is that:
Type 'AbstractControl' is missing the following properties from type 'FormControl': registerOnChange, registerOnDisabledChange, _applyFormState

text-input.component.html code:

<div class="form-group">
    <input [class.is-invalid]="ngControl.touched && ngControl.invalid" type={{type}} class="form-control"
      [formControl]="ngControl.control"  placeholder={{label}}>
    <div *ngIf="ngControl.control.errors?.required" class="invalid-feedback">Please enter a {{label}}</div>
    <div *ngIf="ngControl.control.errors?.minlength" class="invalid-feedback">
        {{label}} must be at least {{ngControl.control.errors.minlength['requiredLength']}}
    </div>
    <div *ngIf="ngControl.control.errors?.maxlength" class="invalid-feedback">
        {{label}} must be at most {{ngControl.control.errors.maxlength['requiredLength']}}
    </div>
    <div *ngIf="ngControl.control.errors?.isMatching" class="invalid-feedback">
        Passwords do not match
    </div>
</div>

text-input.component.ts code:

import { Component, Input, Self } from '@angular/core';
import { ControlValueAccessor, NgControl } from '@angular/forms';
@Component({
  selector: 'app-text-input',
  templateUrl: './text-input.component.html',
  styleUrls: ['./text-input.component.css']
})
export class TextInputComponent implements ControlValueAccessor {
  @Input() label: string;
  @Input() type = 'text';

  constructor(@Self() public ngControl: NgControl) {
    this.ngControl.valueAccessor = this;
  }
  writeValue(obj: any): void {
  }
  registerOnChange(fn: any): void {    
  }
  registerOnTouched(fn: any): void {    
  }
  setDisabledState?(isDisabled: boolean): void {    
  }
}

please help me how i should fix this thank you

Trying to create database keyword not supported?

What am I missing ? I create a database. Pasted in the connection to the appSetting

Also, will the .net 5 be updated to the final version ?

I have gotten the 3.1 version to work

PS C:\Users\punko\downloads\DatingApp\api> dotnet ef database update
Build started...
Build succeeded.
info: Microsoft.EntityFrameworkCore.Infrastructure[10403]
Entity Framework Core 5.0.0-preview.8.20407.4 initialized 'DataContext' using provider 'Npgsql.EntityFrameworkCore.PostgreSQL' with options: None
System.ArgumentException: Keyword not supported: data source (Parameter 'keyword')
at Npgsql.NpgsqlConnectionStringBuilder.GetProperty(String keyword)
at Npgsql.NpgsqlConnectionStringBuilder.set_Item(String keyword, Object value)
at System.Data.Common.DbConnectionStringBuilder.set_ConnectionString(String value)
at Npgsql.NpgsqlConnectionStringBuilder..ctor(String connectionString)
at Npgsql.EntityFrameworkCore.PostgreSQL.Storage.Internal.NpgsqlDatabaseCreator.Exists()
at Microsoft.EntityFrameworkCore.Migrations.HistoryRepository.Exists()
at Microsoft.EntityFrameworkCore.Migrations.Internal.Migrator.Migrate(String targetMigration)
at Microsoft.EntityFrameworkCore.Design.Internal.MigrationsOperations.UpdateDatabase(String targetMigration, String connectionString, String contextType)
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.UpdateDatabaseImpl(String targetMigration, String connectionString, String contextType)
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.UpdateDatabase.<>c__DisplayClass0_0.<.ctor>b__0()
at Microsoft.EntityFrameworkCore.Design.OperationExecutor.OperationBase.Execute(Action action)
Keyword not supported: data source (Parameter 'keyword')
PS C:\Users\punko\downloads\DatingApp\api> ^C

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.