A Phoenix web application that allows users to register and login. I'm making this application to practice Elixir, a functional programming language I'm learning.
This project uses Argon2 for password hashing.
-
Install a PostgreSQL server.
-
Modify your environment config in
config/<env>.exs
and configure the PostgreSQL details. -
Install dependencies by running
mix deps.get
. -
Create database by running
mix ecto.create
. -
Migrate necessary schemas by running
mix ecto.migrate
. -
Run the web server by running
mix phx.server
.
Note - By default, the web server binds to port 4000
. Therefore, if you're using localhost, you can access the page at http://localhost:4000/.