Skip to content

Example of a Phoenix 1.7 + Vue 3 + OpenAPI Spec + Autogenerated API client + Boruta Oauth2

Notifications You must be signed in to change notification settings

luisgabrielroldan/phoenix-vue3-boruta-oauth-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Phoenix + Vue 3 example application

Overview

This is a simple full-stack application built with Phoenix and Vue 3. The backend API is generated using OpenAPI specifications and the frontend uses the Swagger TypeScript API Generator to auto-generate TypeScript types and API client code. OAuth2 authentication is implemented via Boruta, and the frontend state management is handled using Pinia. The project is styled with Tailwind CSS.

Stack

Getting started

  1. To start this project:
docker compose up
  1. Create the default user:
docker compose exec api mix run priv/repo/seeds.exs
  1. Visit http://localhost:3000

  2. Login with the default user credentials: [email protected] / password

License

This project is licensed under the MIT License.

About

Example of a Phoenix 1.7 + Vue 3 + OpenAPI Spec + Autogenerated API client + Boruta Oauth2

Topics

Resources

Stars

Watchers

Forks