Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 1.37 KB

README.md

File metadata and controls

52 lines (36 loc) · 1.37 KB

webapp101

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.

Run

If you want to explore the repository alone, use the following instructions to build and run the app.

Prerequisites

Build & Run

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

Parameters

There is no mandatory parameters. To see the full list of parameters run

./bin/webapp101 -h

REST API

One can test the API using http client (Goland) or rest client (VS Code), and the provided requests.