Skip to content

e-jajaga/Back-end

 
 

Repository files navigation

TimeCraft - .NET API Backend

Overview

Welcome to the TimeCraft application, a powerful Time Management tool designed to help users organize their tasks, schedule events, and optimize their daily routines. This README specifically covers the .NET API backend of TimeCraft.

Table of Contents

  1. Getting Started
  2. Prerequisites
  3. Installation
  4. Configuration
  5. Usage
  6. API Endpoints
  7. Authentication
  8. Contributing
  9. License

Getting Started

These instructions will help you set up and run the TimeCraft .NET API backend on your local machine or in a production environment.

Prerequisites

Installation

  1. Clone the TimeCraft repository:

    git clone https://github.com/TimeCraft-App/Back-end.git
  2. Navigate to the TimeCraft/Back-end directory:

    cd TimeCraft/Back-end
    dotnet run

The API backend should now be running locally.

Configuration Configure the application by updating the appsettings.json file with your database connection string, authentication settings, and other relevant configurations.

json
Copy code
{
  "ConnectionStrings": {
    "DefaultConnection": "your_database_connection_string"
  },
  "Authentication": {
    "SecretKey": "your_secret_key",
    "Issuer": "your_issuer",
    "Audience": "your_audience"
  },
  // ... other configurations
}

API Endpoints

Document the available API endpoints, their input parameters, and expected responses. Include examples where applicable.

GET /api/tasks: Retrieve all tasks. GET /api/tasks/{id}: Retrieve a specific task by ID. POST /api/tasks: Create a new task. json Copy code { "title": "Task Title", "description": "Task Description", // ... other parameters } PUT /api/tasks/{id}: Update an existing task by ID. json Copy code { "title": "Updated Task Title", "description": "Updated Task Description", // ... other parameters } DELETE /api/tasks/{id}: Delete a task by ID.

Authentication

Explain the authentication mechanism used in the API (e.g., JWT tokens) and how users can obtain and include authentication tokens in their requests.

Contributing

The ones interested in contributing to this project must email me at jetonsllamniku@gmail.com in order to add as a collaborator in the project

License

This project is licensed under the Apache License 2.0. See the LICENSE file for details.

About

The backend part of the TimeCraft application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 95.4%
  • HTML 4.6%