Skip to content

DanielBlanco/graphql_users_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

GraphqlUsersApi

To start your Phoenix server:

  • Install dependencies with mix deps.get
  • Create and migrate your database with mix ecto.create && mix ecto.migrate
  • Install Node.js dependencies with cd assets && npm install
  • Start Phoenix endpoint with mix phx.server
  • Start Credo with mix credo
  • Start a console with iex -S mix

Now you can visit localhost:4000 from your browser.

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

Learn more

NOTES:

I wanted to keep things simple and not add functionality that is specific to some apps, therefore:

  • I didn't add Email or Phone fields to User model, this is something you can do.
  • The security of the application is done through username/password, any other means of authentication should be created by you.
  • I'm using a full_name field in User model because from an UX standpoint, having first_name and last_name does not add any extra value.

About

Elixir+Phoenix GraphQL API project to manage users

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors