8000 GitHub - andreaazzini/peap: PEAP - Phoenix Elixir Angular Postgres · GitHub
[go: up one dir, main page]

Skip to content
andreaazziniPublic
forked from akeating/peap

About

PEAP - Phoenix Elixir Angular Postgres

Resources

Stars

0 stars

Watchers

1 watching

Forks

 
 

Repository files navigation

PEAP - Phoenix Elixir Angular Postgres

A poc implementation of phoenix with angular2, webpack, graphql, jwt, typescript, scss, postgres, and a few other things.

Requires elixir, node and postgres, e.g.

brew install elixir
brew install n
brew install postgres

To start the server

postgres -D /usr/local/var/postgres/
mix deps.get
npm install
mix ecto.setup
mix phoenix.server

The seed user is demo@example.com and password is foo.

Now you can visit localhost:4000 from your browser.

Review the configs in /config, including secret_key_base in config.exs.

Run the tests

npm test

Features

  • phoenixframework
  • webpack with watcher
  • managed static assets with watcher
  • a common module and app module
  • global and encapsulated styles
  • priv/static is deleted before each build

Static assets are in web/static/root. These are copied over to priv/static and changes are watched.

Put everything related to webpack in web/static/modules. The webpack bundles are placed in priv/static/bundles.

WARNING: all files in priv/static are deleted with each build. Place everything you need in the appropriate web/static directory.

About

PEAP - Phoenix Elixir Angular Postgres

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

P 31E1 ackages

Contributors

Languages

0