Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/noureldin2303/flask_restful

Simple flask restful app
https://github.com/noureldin2303/flask_restful

flask flask-application flask-restful flask-sqlalchemy python python3 rest restful restful-api

Last synced: 2 days ago
JSON representation

Simple flask restful app

Awesome Lists containing this project

README

        

# Flask_restful mini app

[![My Skills](https://skillicons.dev/icons?i=py,flask)](https://skillicons.dev)

A simple RESTful API application created as a practice project using Flask.

## How to Start the App

1. Clone the repository:
```bash
git clone https://github.com/Noureldin2303/Flask_restful.git
```
2. Navigate to the project directory:
```bash
cd Flask_restful
```
3. Create a virtual environment:
```bash
python3 -m venv venv
```
4. Activate the virtual environment:
- On Windows:
```bash
venv\Scripts\activate
```
- On macOS/Linux:
```bash
source venv/bin/activate
```
5. Install the dependencies:
```bash
pip install -r requirements.txt
```
6. Run the application:
```bash
python3 run.py
```

## File Structure

```
Flask_restful/
├── app/
│ ├── __init__.py
│ ├── routes.py
│ └── models.py
├── .gitignore
├── README.md
├── requirements.txt
└── run.py
```