Skip to content

seckinalp/Biky-Backend

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Biky-Backend

Before running project on local execute commands:

dotnet ef migrations add InitialCreate --project 'Biky Backend.csproj'
dotnet ef database update --project 'Biky Backend.csproj'

Biky-Backend is the server-side implementation for the Biky platform, providing APIs and backend logic for managing users, posts (social and sale), likes, comments, notifications, and more. It uses ASP.NET Core, Entity Framework Core, and SQLite for data storage.

Features

  • User Management: Registration, authentication (JWT), following/unfollowing, profile management.
  • Social Media Posts: CRUD operations for social media posts, feed generation, content search.
  • Sale Posts: CRUD operations for sale posts, feed and filter functionalities.
  • Likes and Comments: API endpoints to like/unlike posts, comment, and view interactions.
  • Notifications: Automatically notify users of relevant actions (e.g., likes).
  • Feed System: Personalized, following, guest, and filtered feeds.
  • Image Handling: Upload and manage images for posts and profiles.
  • Category & Reporting: Organize posts and report inappropriate content.
  • SignalR Integration: Real-time features (e.g., chat, notifications).
  • Swagger UI: API documentation for development mode.

Getting Started

Prerequisites

Setup Instructions

Before running the project locally, execute these commands in the project directory:

dotnet ef migrations add InitialCreate --project 'Biky Backend.csproj'
dotnet ef database update --project 'Biky Backend.csproj'

This will set up your SQLite database with the required schema.

Run the Project

dotnet run --project 'Biky Backend.csproj'

By default, the backend will be accessible at https://localhost:<port>/.

Development Mode

If you're running in development mode, Swagger UI will be available for interactive API testing.

Project Structure

  • Controllers/ — API endpoints for users, posts, likes, comments, etc.
  • Services/ — Business logic for user management, posts, likes, notifications, etc.
  • Options/ — Configuration for JWT, authentication and other settings.
  • Program.cs — Application startup and service configuration.

Technologies Used

  • ASP.NET Core
  • Entity Framework Core (Code First)
  • SQLite
  • JWT Authentication
  • SignalR (real-time features)
  • Swagger/OpenAPI

Example Endpoints

  • POST /Like/Add — Like a social media post.
  • POST /SalePost/Add — Add a sale post.
  • GET /SalePost/GetAll — Get all sale posts.
  • GET /Feed/SocialMediaAll — Get all social media posts for a user.
  • And many more.

About

Biky-Backend is a comprehensive ASP.NET Core server-side implementation for the Biky social media and marketplace platform, featuring user management with JWT authentication, Entity Framework Core and SQLite, it provides a complete REST API.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • C# 100.0%