The Appointment Scheduler Project is a web application that allows users to schedule and manage appointments. It provides features for both administrators and users to create, view, and manage appointments efficiently.
MyCms Web API is a robust Content Management System (CMS) backend built with .NET Core. It provides a scalable and flexible solution for managing news, comments, images, and more.
User Authentication: Secure JWT-based authentication.
News Management: Add, edit, and manage news articles.
Comment Management: Add and manage comments on news articles.
Image Management: Upload and manage images.
Role-based Access Control: Different roles for admin and users.
- .NET Core 6.0
- Entity Framework Core
- SQL Server
- AutoMapper
- JWT for authentication
- other libraries
Prerequisites
- .NET Core SDK
- SQL Server
1- Clone the repository
git clone https://github.com/danialRf/MyCms_Web-API.git
2- Navigate to the project directory
cd MyCms_Web-API
3 - Restore packages
dotnet restore
4- Run the application
dotnet run
- POST /api/auth/register : Register a new user.
- POST /api/auth/login : Authenticate a user.
- POST /api/news: Add a new news article.
- GET /api/news: Get all news articles.
- PUT /api/news/{id}: Update a news article.
For more details, refer to the API documentation.
If you'd like to contribute, please fork the repository and make changes as you'd like. Pull requests are warmly welcome.
Distributed under the MIT License. See LICENSE for more information.