GithubHelp home page GithubHelp logo

Login is not working about peap HOT 4 CLOSED

kination avatar kination commented on September 18, 2024
Login is not working

from peap.

Comments (4)

akeating avatar akeating commented on September 18, 2024

Sorry about that, perhaps I missed something in the recent umbrella refactor. Can you try the following?

cd apps/domain
mix ecto.reset

Then try to login again.

from peap.

kination avatar kination commented on September 18, 2024

@akeating Thanks for quick answer. Now it works! Just one more question.

In apps/, it is separated to domain and interface. I thought it is divided as backend(phoenix) / frontend(angular2). If this is right, why mix.exs and other files for phoenix are exists in interface directory? Is there some other reason, or am I misunderstand something?

Thanks.

from peap.

akeating avatar akeating commented on September 18, 2024

Ah, well spotted. The interface directory contains a phoenix application and the domain directory contains a plain elixir application. The phoenix application is modified to support everything you should need for developing with angular 2.

I structured it this way in response to some thoughts shared in various forums. Some references you might take a look at include:
http://www.elixirconf.eu/elixirconf2016/lance-halvorsen (take a look at the video)
https://elixirforum.com/t/phoenix-is-not-your-application-questions/735 (discussion)
https://elixirforum.com/t/how-important-is-the-phoenix-is-not-your-application-mantra/1886
https://confreaks.tv/videos/elixirconf2016-keynote

Essentially, the idea is to separate the interface from the reset of your business logic. Chris McCord also expressed his thoughts about phoenix 1.3 which may change this structure some more when that is released. I kind of like the idea and I will continue to evolve this sample application as my assessment of best practices changes.

from peap.

kination avatar kination commented on September 18, 2024

@akeating Thanks! I'll look on it.

from peap.

Related Issues (3)

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.