An open API service indexing awesome lists of open source software.

https://github.com/timothyjan/tasktrackr

Project management application using Angular for user-friendly task tracking and C# .NET MVC with SQL Server for backend data management on AWS, enabling efficient project assignment, progress tracking, and team collaboration.
https://github.com/timothyjan/tasktrackr

Last synced: 5 months ago
JSON representation

Project management application using Angular for user-friendly task tracking and C# .NET MVC with SQL Server for backend data management on AWS, enabling efficient project assignment, progress tracking, and team collaboration.

Awesome Lists containing this project

README

          

# TaskTrackr
Task management application using ASP.NET Core, Entity Framework Core, Angular, Bootstrap, and SQL Server on AWS RDS, enabling efficient project assignment, progress tracking, and team collaboration.

Process:


  • SQL Server Management Studio

    • Connect to Server

      • Server Type: Database Engine

      • Server Name: localhost

      • Authentication: Windows Authentication

      • Connect



    • Create a new Database

      • In the Object Explorer, right-click on Databases and select New Database

      • Database Name: TaskTrackrDb



    • Configure a User

      • Expand the Security node.

      • Right-click Logins and select New Login

      • In the Login - New dialog:

        • Login Name: Enter a username

        • Authentication: Choose SQL Server Authentication and set a password.



      • In the left panel, go to User Mapping, check your database (TaskTrackrDb), and assign the db_owner role.



    • Configure the Connection String in appsettings.json

      • "DefaultConnection": "Server=(localdb)\\MSSQLLocalDB;Database=TaskTrackrDb;Trusted_Connection=True;"




  • ASP.NET MVC

    • Create Models(User, Project, ProjectTask) with data annotations.

    • Create DTOs to transfer only the required data between the client and server. Also to avoid exposing the navigation properties that cause cycles.

    • Add Required NuGet Packages

      • Microsoft.EntityFrameworkCore

      • Microsoft.EntityFrameworkCore.SqlServer

      • Microsoft.EntityFrameworkCore.Tools



    • Create DBContext to interact with the database. This serves as a bridge between the application and the database using Entity Framework Core.

    • Create Repositories with async methods to implement data access logic using Entity Framework and interact with the database.

    • Create Controllers for basic CRUD (Create, Read, Update, Delete) operations.

    • Configure Database Connection. Set up the connections string to AWS SQL Server.

    • Create migrations and apply to the database to create tables

      • Add Migration: ~dotnet ef migrations add InitialCreate

      • Apply Migration: ~dotnet ef database update



    • Seed database with dummy data

      • Create SeedData.cs.

      • Modify Program.cs to call the SeedData.Initialize method during application startup.

      • Add migrations and apply to the database to create tables

        • Add Migration: ~dotnet ef migrations add SeedDataMigration

        • Apply Migration: ~dotnet ef database update





    • Test all methods on Swagger.


  • Frontend(Angular)

    • Create models(User, Project, ProjectTask).

    • Create services to handle communication with the database.

    • Install Bootstap: ~npm install bootstrap

    • Create components for project-list and user-list.



  • Create environments for development and production, specifically for connection string.

Archived Process:


  • SQL Server on AWS RDS

    • CANCELED AWS DUE TO COSTS

    • Go to AWS and create an account.

    • Once logged in, go to the AWS Management Console and search for "RDS".

    • Create and launch Database

    • Connect to SQL Server Database - In Connectivity & security use the Endpoint (hostname) and ensure Port is set to 1433 (default for SQL Server).

    • Allow Access from application - RDS Security Groups and add a rule to allow inbound traffic on port 1433 from IP.

    • Test connection in SQL Server Management Studio

      • Open SQL Server Management Studio(SSMS)

        • Server Name: Your RDS Endpoint,1433 (e.g., yourdbinstance.abcd1234.region.rds.amazonaws.com,1433).

        • Authentication: SQL Server Authentication.

        • Username: The master username you created.

        • Password: The password you set.



      • Error with RDS SQL Server instance is using SSL encryption with a certificate that client machine does not trust by default. Configure client to trust the certificate.

        • Download the AWS RDS Region Bundle link

        • Install Certificate

        • Retest connection



      • Installed latest version of microsoft sql server management studio.





  • Get connection string and add to appsettings.json

  • CANCELED AWS DUE TO COSTS