GitXplorerGitXplorer
h

perfect-stack

public
23 stars
2 forks
2 issues

Commits

List of commits on branch main.
Unverified
81e44105fe4d817357b3dd7c6a5daba443d9a923

change readme

hhaikyuu committed 3 years ago
Unverified
535912cf27431919a4da4eb880090fc1e3e88bdd

update Readme

hhaikyuu committed 3 years ago
Unverified
c534e83dbd961c8d2190822939ac0f21d592dd45

update readme

hhaikyuu committed 3 years ago
Unverified
c3d4c04159b5489b7ef1236cdca1af9a625ab12b

add users and support file upload

hhaikyuu committed 3 years ago
Unverified
e0e72d8082dccc3fd71399fe6536ba00237efa8f

Add contacts management

hhaikyuu committed 3 years ago
Unverified
5aac49ba17bb42fb51a009241b09b5f33455c29c

Merge branch 'main' of https://github.com/haikyuu/perfect-stack into main

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.