rabbycse / asp.net_backend_challenge_template

Backend challenge template for C# challenge

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Turing Back End Challenge

To complete this challenge, you need to ensure all route returns a similar response object as described in our API guide. To achieve this goal, you will have to fix the existing bugs, implement the incomplete functions, and add test cases for the main functions of the system.

Getting started

Prerequisites

In order to install and run this project locally, you would need to have the following installed on you local machine.

Installation

  • Clone this repository

  • Navigate to the project directory cd src/

  • Create a virtual environment

  • Install dependencies dotnet restore

  • Edit src\TuringBackend.Api\appsettings.json database credentials to your database instance

  • Create a MySQL database and run the sql file in the database directory to migrate the database mysql -u <dbuser> -D <databasename> -p < ./sql/database.sql

  • Run development server

dotnet run

Request and Response Object API guide for all Endpoints

Using Docker

Build image

docker build -t turing_app .

Run Image docker run --rm -p 80:80 turing_app

About

Backend challenge template for C# challenge


Languages

Language:C# 98.8%Language:Dockerfile 1.2%Language:Shell 0.1%