Skip to content

Commit 7fcf033

Browse files
authored
Create README.md
1 parent 3028f19 commit 7fcf033

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

README.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Flask REST API with mongoDB ```py 3.10```
2+
First, to install all dependencies:
3+
```
4+
python -m pip install -r requirements.txt
5+
```
6+
7+
Second, into the ./src/ folder, copypaste this:
8+
```
9+
$env:FLASK_APP="app.py"
10+
flask run
11+
```
12+
If you reject to me, this:
13+
```
14+
py app.py
15+
```
16+
17+
Obviusly, make sure you have ```mongod``` running on.
18+
19+
## Source code
20+
<img src="https://i.ibb.co/cK5v7rJ/Flask-REST-API-mongo-DB.png" alt="Flask-REST-API-mongo-DB">

0 commit comments

Comments
 (0)