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
- Host: GitHub
- URL: https://github.com/devvspaces/hng_stage_1
- Owner: devvspaces
- Created: 2022-10-27T09:02:18.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2022-11-05T18:51:22.000Z (over 3 years ago)
- Last Synced: 2025-10-23T20:42:15.399Z (9 months ago)
- Language: Python
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# HNG Backend Development Track
## Table of Contents
- [About](#about)
- [Getting Started](#getting_started)
- [Usage](#usage)
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
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
```
Run the app
```bash
python manage.py runserver
```