8000
Skip to content

Latest commit

 

History

14 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Contactly (Ash/React version)

This is a demo Contacts Application built with the Ash Framework, Phoenix, React, and Inertia, featuring email/password authentication, full CRUD operations, pagination, search functionality, and CSV import/export capabilities.

contactly_ash.mp4

Features

  • Email/Password Authentication: Complete authentication system with user registration, login, email confirmation, password reset, and forgot password functionality using Ash Authentication.
  • CRUD Operations: Create, read, update, and delete contacts.
  • Pagination: Efficiently navigates through contact lists.
  • Search: Quickly find contacts using the search feature.
  • CSV Import/Export: Import and export contacts via CSV files.
  • Modern Frontend: Built with React and Inertia.js for a seamless single-page application experience.

Entity-Relationship Diagram (ERD)

contactly_ash_erd

Prerequisites

Before setting up the application, ensure you have the following installed:

Setup Instructions

Clone the Repository

git clone https://github.com/joangavelan/contactly_ash.git
cd contactly_ash

Install Dependencies

Fetch and install the necessary Elixir dependencies:

mix deps.get

Install Node.js dependencies for the frontend:

cd assets
npm install
cd ..

Database Configuration

Configure your database settings in config/dev.exs. Ensure the username, password, hostname, and database fields match your PostgreSQL setup:

config :contactly, Contactly.Repo,
  username: "your_db_username",
  password: "your_db_password",
  hostname: "localhost",
  database: "contactly_dev",

Create and Migrate the Database

Set up the database by running:

mix ecto.create
mix ecto.migrate

Start the Server

Start the Phoenix server:

mix phx.server

The app will be accessible at http://localhost:4000.

Contributing

Contributions are welcome! Feel free to open an issue or submit a pull request with your improvements or feedback.


About

Simple contacts app built with Ash Framework, Phoenix, React, and Inertia

Topics

Resources

Stars

20 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages

0