Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jespy666/restful-flask
Repository for a RESTful Application in Flask (Technical Specification)
https://github.com/jespy666/restful-flask
Last synced: about 16 hours ago
JSON representation
Repository for a RESTful Application in Flask (Technical Specification)
- Host: GitHub
- URL: https://github.com/jespy666/restful-flask
- Owner: jespy666
- License: mit
- Created: 2024-05-22T08:40:37.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-05-22T17:19:37.000Z (6 months ago)
- Last Synced: 2024-05-22T18:35:28.375Z (6 months ago)
- Language: Python
- Size: 7.81 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## RESTful-flask
A simple RESTful-api in Flask representing interaction with a todo list (CRUD)
### Stack
![Static Badge](https://img.shields.io/badge/Flask-3.0.3-blue?style=for-the-badge)
![Static Badge](https://img.shields.io/badge/Flask%20RESTful-0.3.10-purple?style=for-the-badge)
![Static Badge](https://img.shields.io/badge/SQLAlchemy-2.0.30-green?style=for-the-badge)
![Static Badge](https://img.shields.io/badge/Alembic-1.13.1-red?style=for-the-badge)
### How to run
* clone repo `git clone https://github.com/jespy666/RESTful-flask.git`
* go to project dir `cd RESTful-flask`
* create virtual env `python3 -m venv venv`
* activate venv `source venv/bin/activate`
* create and fill .env `touch .env` (see .env.example)
#### By CLI:
* install dependencies `make install`
* apply migrations `make migrate`
* run api `make api`
#### By Docker
* setup ENV in `.env` to 'prod'
* run `docker-compose up -d`
* explore