This repository is intended to be used in the webapp101
workshop as an example
of a Web Scraper application.
Participants should do exercises while going through branches from
0_repo_exercise
to 3_rest_exercise
together with following
slides
.
This is only an example application, copy-paste on your own risk.
If you want to explore the repository alone, use the following instructions to build and run the app.
make startdb && make build && ./bin/webapp101 --migrate-up
This command will start postgres DB in Docker, test and build the application
and start it, applying DB migrations on start. It will return an error if a
container with name webappDB
is already in use. To stop the DB use appropriate
Docker commands or
make stopdb
There is no mandatory parameters. To see the full list of parameters run
./bin/webapp101 -h
One can test the API using http client (Goland) or rest client (VS Code), and the provided requests.