Skip to content

A Boilerplate of a Phoenix app that only makes use of the JSON API portion of the framework.

Notifications You must be signed in to change notification settings

wademauger/elixir-rest-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Elixir Rest Boilerplate

A Boilerplate of a Phoenix app that only makes use of the JSON API portion of the framework.

Getting Started:

  • Install dependencies with mix deps.get
  • Have PostgreSQL installed and auth information added appropriately in /config
  • Create and migrate your database with mix ecto.create && mix ecto.migrate
  • Start Phoenix endpoint with mix phoenix.server

Now you can hit localhost:4000/users

Add more endpoints with mix phoenix.gen.json <scheme_name> <TableName> attribute:type attribute:type

Migrations are in priv/repo/migrations/. If you add a migration, run mix ecto.migrate.

Ready to run in production? Please check our deployment guides.

Learn more

About

A Boilerplate of a Phoenix app that only makes use of the JSON API portion of the framework.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published