An open API service indexing awesome lists of open source software.

https://github.com/devvspaces/hng_stage_1

https://hng9.notion.site/Backend-Stage-1-Task-8a521980803d40d19531dfa7348055f1. Create an (GET) api endoint that returns a json response
https://github.com/devvspaces/hng_stage_1

Last synced: about 12 hours ago
JSON representation

https://hng9.notion.site/Backend-Stage-1-Task-8a521980803d40d19531dfa7348055f1. Create an (GET) api endoint that returns a json response

Awesome Lists containing this project

README

          

# HNG Backend Development Track

## Table of Contents

- [About](#about)
- [Getting Started](#getting_started)
- [Usage](#usage)

## About

Building a Simplet REST API app for the HTTP GET method and POST for basic calculation.

[x] Stage 1

[x] Stage 2

[ ] Stage 3

[ ] Stage 4

## Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

### Prerequisites

What things you need to install the software and how to install them.

- Python [Install](https://www.python.org/downloads/)

### Installing

A step by step series of examples that tell you how to get a development env running.

Clone the project

```bash
git clone https://github.com/devvspaces/hng_stage_1
```

Setup Virtual Enviroment and Install requirements

```bash
cd hng_stage_1
pip install -r requirements.txt
```

Run tests

```bash
cd basic_api
pytest
```

## Usage

Run the app

```bash
python manage.py runserver
```