Skip to content

An API platform connecting customers with realtors for buying or renting beds, rooms, and apartments.

License

Notifications You must be signed in to change notification settings

ak4m410x01/Sakany

Repository files navigation

Sakany

Details

An API platform connecting customers with realtors for buying or renting beds, rooms, and apartments.

⚙ Tools and Technologies used

  1. C#: The C# language is the most popular language for the .NET platform, a free, cross-platform, open-source development environment.
  2. .NET Core: ASP.NET Core is an open-source modular web-application framework. It is a redesign of ASP.NET that unites the previously separate ASP.NET MVC and ASP.
  3. Microsoft SQL Server: Microsoft SQL Server (Structured Query Language) is a proprietary relational database management system developed by Microsoft.
  4. JWT (JSON Web Tokens): A standard for securely transmitting information between parties as JSON objects, commonly used for authentication and authorization in web applications.
  5. Docker: Containerization platform that simplifies the deployment and management of applications by packaging them into portable containers, ensuring consistency across different environments.
  6. Docker Compose: Tool for defining and running multi-container Docker applications, enabling seamless configuration and orchestration of complex application architectures.

🛠 Installation and setup

  1. Install Docker here

  2. Install Git here

  3. Create a working directory:

    mkdir ~/Sakany && cd ~/Sakany
  4. Clone the repository

    git clone https://github.com/ak4m410x01/Sakany.git .
  5. Start the application

     docker compose up -d
  6. Access API: http://localhost:8080/Swagger/index.html

  7. Access DB: localhost:1433

  8. Don't forget .env file with variables

Variable Value
SA_PASSWORD P@ssw0rd
ConnectionStrings__DefaultConnection Server=sqlserver;Database=SakanyDb;User ID=sa;Password=P@ssw0rd;Encrypt=False;Trust Server Certificate=True;
ASPNETCORE_ENVIRONMENT Development

note: these variables are for the lab environment only... don't use these in xxx production environments xxx


🛠 Documentation and Endpoints

  1. Postman
  2. Apidog