/Knot-Project-Web-COMP-1005

Using C#, .NET 6.0, Squlite, Testing, API application

Primary LanguageJavaScript

Knot-Web-Application

Built with

  • C#

  • ####.NET 6.0
  • Squlite

  • UnitTesting

  • API application

  • JavaScript

Report

This app was built to follow what was discussed in class, where we have seperate projects for API, Test, Logic And UI. Its really sophiscated and yet simple if understood properly.

Scope:

User Entity

  • id
  • name
  • email
  • password

Note

  • id
  • Title
  • Content
  • Description
  • DateCreated
  • LastModified
  • UserId

APIs Created

  • User can signup
  • User can Login
  • User can view Profile
  • User can add Post
  • User can edit post
  • User can update post
  • User can delete post
  • User can get single post

Challenges

Login API:

image

For some weird reason, i couldn't get to make the login to work. So i changed the id type from string to int, make changes across other Entities but yet no result as to why it fails.

  • I also deleted the Tables, added multiple keys to the User Entity because i thought, the error was key based but that caused more errors.

UI Issues:

I couldn't get my react application to run, because of the error below: image

But no response on the problem.

API Result

image

image