Commit Graph

14 Commits

Author SHA1 Message Date
5ea437b9f1
fix(phoenix): remove deprecated items
Signed-off-by: SphericalKat <amolele@gmail.com>
2024-05-09 18:39:59 +05:30
Amogh Lele
bf50e4264d
fix(config): enable ipv6 for fly databases
Signed-off-by: Amogh Lele <amogh@dyte.io>
2022-05-06 21:14:21 +05:30
Amogh Lele
82e4d19e6c
feat: set up deploys with fly
Signed-off-by: Amogh Lele <amogh@dyte.io>
2022-05-06 19:54:58 +05:30
Amogh Lele
f67e8cf6f9
chore(config): upgrade deprecated config modules
Signed-off-by: Amogh Lele <amogh@dyte.io>
2022-05-06 17:11:47 +05:30
3f424a41c1
chore: migrate to prod
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-10-08 01:56:42 +05:30
8f4672b516
refactor(auth): use heex templates
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-10-07 05:58:00 +05:30
Akshit Garg
3f5b1d10ac
refactor(assets): swap webpack for esbuild
- Remove all webpack and babel related npm dependencies
- Add esbuild and esbuild-plugin-postcss2 as a dependency
- Add a custom `build.js` script to build css and js with esbuild
  and copy static files to the priv/static directory
- Modify `config/dev.exs` to use that build script as a watcher instead
  of webpack
- Modify `package.json` to use that build script in instead of webpack
- Modify `KetbinWeb.Endpoint` to serve the assets directory instead of
  css and js directories from static
- Modify the `app.html.eex` layout to use `assets` directory instead of
  separate css and js directories

Signed-off-by: Akshit Garg <garg.akshit@gmail.com>
2021-08-21 17:41:46 +05:30
Akshit Garg
12ec98d15e
refactor(config): use secret files in dev mode
- Refactor `config/dev.exs` to use `config/dev.secret.exs` instead of
  fetching the SMTP information from the environment and using hardcoded
  database credentials. This is useful when different developers have
  different database credentials and they use different SMTP adapters
- Add a sample `dev.secret.exs` in `config/dev.secret.sample.exs`. Also
  gitignore the origin `dev.secret.exs` file
- Add instructions on how to setup the config file for development in
  `README.md`
- Add `Plug.Swoosh.MailboxPreview` plug on "/mailbox" route in
  development mode for easier development with e-mails

Signed-off-by: Akshit Garg <garg.akshit@gmail.com>
2021-08-21 16:47:31 +05:30
caf3535e74
feat(mailer): send mail asynchronously
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-20 03:00:17 +05:30
36ad9d1000
feat(users): wire up forgot password to swoosh
closes #4

Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-20 02:09:14 +05:30
5d05a87263
chore: prepare for prod
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-14 01:19:00 +05:30
30bbc9b78d
chore(build): create dockerfile for release deployment
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-13 14:12:49 +05:30
721bb05cc1
chore(auth): generate code for auth-authz
Signed-off-by: SphericalKat <amolele@gmail.com>
2021-08-11 12:27:23 +05:30
supercmmetry
6f81702291
chore(git): Initial commit
Signed-off-by: supercmmetry <vishaals2000@gmail.com>
2021-08-09 14:18:23 +05:30