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.
- 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.
- .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
- To create the server with Docker:
-
Server
- Enter the
BlogAPI
directorycd src/BlogAPI
- 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"
- Run the migrations to initialize the database:
dotnet ef database update
- Start the API server:
dotnet run
- View the Sagger UI at
https://localhost:<port>/swagger
.
- Enter the
-
Client
- Enter the
frontend
directory:cd frontend
- Install frontend dependencies:
npm install
- Start the frontend server:
npm run start
- Enter the