https://github.com/cofin/litestar-pingcrm
Ping CRM for Litestar
https://github.com/cofin/litestar-pingcrm
advanced-alchemy alembic inertiajs litestar pingcrm sqlalchemy
Last synced: about 1 month ago
JSON representation
Ping CRM for Litestar
- Host: GitHub
- URL: https://github.com/cofin/litestar-pingcrm
- Owner: cofin
- License: mit
- Created: 2025-01-06T04:39:03.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-01-07T05:27:43.000Z (4 months ago)
- Last Synced: 2025-03-09T03:04:30.523Z (about 2 months ago)
- Topics: advanced-alchemy, alembic, inertiajs, litestar, pingcrm, sqlalchemy
- Language: Python
- Homepage:
- Size: 505 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Ping CRM
A demo application to illustrate how Inertia.js works with Litestar.

**Note:** Check out the original [Ping CRM](https://github.com/inertiajs/pingcrm) project for context.
## Installation
Clone the repo locally:
```sh
git clone https://github.com/cofin/litestar-pingcrm.git pingcrm
cd pingcrm
```Astral's UV is used to managed the development environment. If you don't have it installed, you can install it with the following command:
```sh
make install-uv
```Setup configuration:
```sh
cp .env.example .env
```Next, install the Python and JavaScript dependencies:
```sh
make install
source .venv/bin/activate
pingcrm assets install
```Run database migrations:
```sh
pingcrm database upgrade
```Run database seeder:
```sh
pingcrm database load-fixtures
```Run the Vite & Litestar server for development:
```sh
pingcrm run --debug
```You're ready to go! Visit Ping CRM in your browser, and login with:
- **Username:**
- **Password:** secret## Running tests
To run the Ping CRM tests, run:
```sh
make test
```