This is the source of the sanbase project of
Running with docker
If you have docker you can run the app simply by running:
This is going to run the app on port 4000, so
localhost:4000 should be accessible.
There will be no data in the database, so run this command to fill some information in the database:
If you want to access an IEX console attached to the running server, run:
Structure of the app
The API code is in
lib/ and follows the phoenix 1.3
directory structure. You can read more about how to define the API
endpoints from the Phoenix docs.
Running the backend tests
You can easily run the tests using docker with the command: