kandimat/backend/README.md

25 lines
555 B
Markdown
Raw Normal View History

# Candymat Backend
2019-08-31 13:56:07 +02:00
The backend providing the data and managing changing the data.
## Development setup
### Install
Run inside this folder
```
2019-08-31 14:56:04 +02:00
./dev-setup.sh
2019-08-31 13:56:07 +02:00
```
#### For conda users:
```conda create -n candymat-userapp-api python=3.7.4 flask=1.1.1```
```conda activate candymat-userapp-api```
2019-08-31 13:56:07 +02:00
### Run
2019-08-31 14:52:04 +02:00
Start the flask server locally under http://127.0.0.1:5000 with the follwing script:
2019-08-31 13:56:07 +02:00
```
2019-08-31 14:52:04 +02:00
./dev-start.sh
2019-08-31 13:56:07 +02:00
```
2019-09-17 23:48:44 +02:00
Observe dummy data for http://127.0.0.1:5000/api/kandidaten
2019-08-31 13:56:07 +02:00
#### For Windows
```set set FLASK_APP=flask-server/main.py```
```flask run```