https://github.com/dxtaner/cityguideapi
CityGuide App
https://github.com/dxtaner/cityguideapi
aspnetcore automapper cloudinarydotnet dependencyinjection entityframeworkcore jwtbearer newtonsoftjson sqlserver
Last synced: 28 days ago
JSON representation
CityGuide App
- Host: GitHub
- URL: https://github.com/dxtaner/cityguideapi
- Owner: dxtaner
- Created: 2024-02-29T11:13:20.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-07-18T23:43:01.000Z (11 months ago)
- Last Synced: 2025-10-27T05:37:04.866Z (8 months ago)
- Topics: aspnetcore, automapper, cloudinarydotnet, dependencyinjection, entityframeworkcore, jwtbearer, newtonsoftjson, sqlserver
- Language: C#
- Homepage:
- Size: 534 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
CityGuideApi
============
CityGuideApi is a .NET Core-based city guide API. This API includes features such as JWT authentication, SQL Server database connection, and Cloudinary integration.
Getting Started
---------------
Follow these steps to run this project locally.
### Requirements
* .NET 5 or later
* SQL Server
* Visual Studio or Visual Studio Code
* Postman or similar API client
### Installation
1. **Clone the Project**
git clone https://github.com/dxtaner/CityGuideApi
cd CityGuideApi
3. **Install Dependencies**
dotnet restore
5. **Configure Database Connection**
Update the \`DefaultConnection\` value in the \`appsettings.json\` file to match your SQL Server connection string.
7. **Update Database**
dotnet ef database update
9. **Run the Project**
dotnet run
Technologies Used
-----------------
* ASP.NET Core
* Entity Framework Core
* JWT Authentication
* AutoMapper
* Cloudinary
* Swagger UI
API Documentation
-----------------
You can test the API using Swagger UI. After running in the development environment, you can access it at:
https://localhost:5001/swagger/index.html
Security
--------
This API uses JWT-based authentication. You must provide a valid JWT token to access protected endpoints.
Contributing
------------
To contribute, please fork the repository, make your improvements, and submit a pull request (PR).
License
-------
This project is licensed under the MIT license.