GithubHelp home page GithubHelp logo

mikeotoole / peap Goto Github PK

View Code? Open in Web Editor NEW

This project forked from akeating/peap

0.0 2.0 0.0 137 KB

PEAP - Phoenix Elixir Angular Postgres

License: MIT License

Shell 1.81% Elixir 60.53% JavaScript 5.17% CSS 1.66% TypeScript 29.85% HTML 0.98%

peap's Introduction

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 [email protected] 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.

peap's People

Contributors

akeating avatar

Watchers

James Cloos avatar Mike O'Toole avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.