This project is a web application that combines ASP.NET MVC for the backend and Angular for the frontend. It aims to test my skills and create URL shortener
ASP.NET MVC: A web application framework for building scalable and maintainable web applications using the Model-View-Controller architectural pattern. Angular: A popular TypeScript framework for building single-page applications (SPAs) with a component-based architecture. Entity Framework: An object-relational mapping (ORM) framework that simplifies database operations in ASP.NET applications. Postgres SQL: A relational database management system used to store and retrieve data for the application.
This project uses xUnit framework for backend and Jasmine for Angular.
- Clone the repository: git clone (https://github.com/olehkavetskyi/TestTask)
- Set up the backend:
- Open the solution file in Visual Studio.
- Build the solution to restore NuGet packages and compile the code.
- Configure the database connection string in the web.config file.
- Run the database migrations to create the required tables.
- Add this into appsettings.json:
"ConnectionStrings": { "DefaultConnection": "Host=localhost;Port=5432;Database=testtaskdb;User Id=postgres;Password=12#ubtr;" }, "Token": { "Key": "super secret key", "Issuer": "https://localhost:7228/", "Audience": "https://localhost:7228/" }