Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/miolab/phoenix_local_playground

ローカル直入れPhoenix開発検証用リポジトリ
https://github.com/miolab/phoenix_local_playground

elixir phoenix

Last synced: about 2 months ago
JSON representation

ローカル直入れPhoenix開発検証用リポジトリ

Awesome Lists containing this project

README

        

# [WIP] Phx Test Mock

To start your Phoenix server:

- Setup the project with `mix setup`
- Start Phoenix endpoint with `mix phx.server`

Now you can visit [`localhost:4000`](http://localhost:4000) from your browser.

Ready to run in production? Please [check our deployment guides](https://hexdocs.pm/phoenix/deployment.html).

## Version

```terminal
$ mix phx.new -v
Phoenix v1.5.1
```

---

# Prepare Project

```elixir
$ mix phx.new phx_test_hoge

$ mix phx.gen.html Accounts User users name:string email:string:unique password:string

$ mix ecto.create

$ mix ecto.migrate
```

- NOTE

マイグレート前に `pg_ctl start` 要

## Preview (ON GOING)

[localhost:4000/users](http://localhost:4000/users)

image