Skip to content

stewartrule/FoodiesApi

Repository files navigation

Foodies Api

Trying out Vapor as the backend for Foodies IOS

Setup environment.

docker-compose up --build

Setup database

swift run App migrate

Seed

swift run App seed

Pick a province.

Province(s)
1: Drenthe
2: Flevoland
3: Friesland
4: Gelderland
5: Groningen
6: Limburg
7: Noord-Brabant
8: Noord-Holland
9: Overijssel
10: Utrecht
11: Zeeland
12: Zuid-Holland
13: All
>

Every province takes around 90 seconds to seed. If you pick All you'll be asked to pick a density.

Density
1: Low // ~20 seconds
2: Medium // ~1 minute
3: High // ~3 minutes
4: Very high // 15+ minutes
>

When the seed is done you'll get a list with accounts and a password you can use to log in to the app.

Run server

swift run App

You can now run Foodies IOS

Adminer

Adminer is available at http://localhost:8081

You can find the credentials in the docker-compose file

About

FoodiesApi

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published