Skip to content

WatchNature/watchnature-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Watch Nature

Watch Nature API

An Elixir-based API for our social field guide to Life on Earth. Serves our Vue-based web client.

Development

To start your Phoenix app:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.create && mix ecto.migrate
  • Start Phoenix endpoint with mix phx.server

Now you can visit localhost:4000 from your browser.

To run the tests and watcher, simply use mix test.watch.

Ready to run in production? Please check our deployment guides.

Environment Vars

Environment variables for the backend are loaded from .env located in the project root. The skeleton:

export AWS_ACCESS_KEY_ID="******"
export AWS_SECRET_ACCESS_KEY="******"
export AWS_BUCKET_NAME="******"
export AWS_REGION="******"
export IMGIX_HOST="******"

Learn more

Team

License

Watch Nature is released under the GNU Public License v3.