Last active
February 5, 2020 05:39
-
-
Save featherart/dee7af017b84f4733329176535f46c64 to your computer and use it in GitHub Desktop.
Create a new JSON Phoenix API
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# generate a new app in a directory called todos-json-api | |
# namespaced under ToDosApi, & no html or webpack will scaffolded | |
mix phx.new todos-json-api --app todos_api --module ToDosApi --no-html --no-webpack | |
# go into newly created directory | |
cd todos-json-api | |
# create the database | |
mix ecto.create |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment