GitXplorerGitXplorer
h

perfect-stack

public
23 stars
2 forks
2 issues

Commits

List of commits on branch main.
Unverified
5e5e28e5ed3000b79edd35d0fe2f005e1aecfa4c

Update README.md

hhaikyuu committed 2 years ago
Unverified
000d23b54b6d2e834fb1d20d08cabf3d730ebc95

update imba inertia adapter

hhaikyuu committed 3 years ago
Unverified
1fc8401112f1fb874c44dd377ca67da836c7d817

fix some issues with first time setup

hhaikyuu committed 3 years ago
Unverified
2fda9b13c91817351d6e1aa0e2b778cefe2bca77

add e2e tests

hhaikyuu committed 3 years ago
Unverified
4c8aa2e12c45e994598319cec5cac00c2929607f

add inertia adapter repo to readme and fix roadmap

hhaikyuu committed 3 years ago
Unverified
910dcf5a51d0791dc72711a2ae741b6adc8f3523

use imba inertia adapter

hhaikyuu committed 3 years ago

README

The README file for this repository.

perfect-stack

<iframe src="https://raw.githubusercontent.com/haikyuu/perfect-stack/main/https://scrimba.com/scrim/c2aZBJH2" width="100%" height="700px"></iframe>

The perfect stack is comprised of three main technologies:

  • EdgeDB: the database
  • Imba : as the programming language with an integrated UI library
  • Inertia: a glue between the UI and the server.
  • http library: I used express, but I intend to move to Fastify later. You can use the one you prefer here.

These technologies together make the stack perfect in my opinion. They are:

  • ✨ Expressive
  • 🛠 Productive
  • 🤯 Powerful
  • 🏎 Fast

Original Ping CRM

https://demo.inertiajs.com

Included in this repo: an inertia adapter for express I forked from https://github.com/jordankaerim/inertia-node to add support for flash messages.

Installation

  • Install edgedb
  • Run edgedb project init
  • Run npm install
  • Run npm start-server

If you add some tailwindcss classes, make sure you run npm run tailwind to build the css file or run npm start to watch on the changes

Running e2e tests

  • run "npm run test:migrate" to create a test db and run migrations on it.
  • run npm run test to run the tests in headless mode
  • run npm run test:headed to run in headful mode (open a browser)

Creating new tests

  • run npm run codegen
  • Navigate through the app and the test code will be generated in playwright inspector

Done

  • ✅ All CRM features
    • Login
    • Manage Organizations
      • Create
      • Update
      • Delete (soft deletes)
      • Restore
      • Search and filter
    • Manage Users (with file upload)
    • Manage Contacts
  • ✅ Polish the API of inertia adapter for Imba and publish to npm
  • ✅ Add e2e tests

Roadmap

  • [ ] Deploy to the cloud

License

MIT license.