Skip to content

CampusConnect is a full-stack blogging platform using ASP.NET Core and React. It supports user authentication, blog creation, commenting, and role-based access control, with unit testing via xUnit.

Notifications You must be signed in to change notification settings

240708-NET/CampusConnect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

89 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CampusConnect

CampusConnect is a platform designed to facilitate blog creation, user interaction, and profile management. The platform balances ease of use with comprehensive administrative tools, providing a smooth experience for both casual bloggers and site administrators.

Key functionalities

  • Post Viewing: The front page showcases all posts, with options to filter by categories and tags.
  • Post Management: Users can create, edit, and delete their posts. Admins have full control to manage all posts.
  • Comment System: Users can comment on posts, reply to comments, and manage their own comments. Post owners and admins have additional moderation capabilities.
  • User Profiles: Profiles include personal details and a history of posts and comments.
  • User Management: Users can create accounts and log in to access features.

Prerequisites

  • .NET SDK 8.0
  • Node.js v20.16
  • Microsoft SQL Server 2022
    • To create the server with Docker:
      docker run -e "ACCEPT_EULA=Y" -e "MSSQL_SA_PASSWORD=<yourPassword>" -p 1433:1433 -d mcr.microsoft.com/mssql/server:2022-latest

Getting Started

  • Server

    1. Enter the BlogAPI directory
      cd src/BlogAPI
    2. Set up the ConnectionString user secret:
      dotnet user-secrets init
      dotnet user-secrets set "ConnectionString" "Server=localhost; Database=<yourDatabase>; User Id=sa; Password=<yourPassword>; TrustServerCertificate=True"
    3. Run the migrations to initialize the database:
      dotnet ef database update
    4. Start the API server:
      dotnet run
    5. View the Sagger UI at https://localhost:<port>/swagger.
  • Client

    1. Enter the frontend directory:
      cd frontend
    2. Install frontend dependencies:
      npm install
    3. Start the frontend server:
      npm run start
      

About

CampusConnect is a full-stack blogging platform using ASP.NET Core and React. It supports user authentication, blog creation, commenting, and role-based access control, with unit testing via xUnit.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •