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.
- 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.
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.
dotnet run --project 'Biky Backend.csproj'By default, the backend will be accessible at https://localhost:<port>/.
If you're running in development mode, Swagger UI will be available for interactive API testing.
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.
- ASP.NET Core
- Entity Framework Core (Code First)
- SQLite
- JWT Authentication
- SignalR (real-time features)
- Swagger/OpenAPI
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.