Skip to content

Latest commit

 

History

History
63 lines (40 loc) · 1.13 KB

README.md

File metadata and controls

63 lines (40 loc) · 1.13 KB

connect-four-reboot-admin

Connect-four-reboot game administration using:

  • react-admin as a frontEnd typescript app
  • postgrest with Supabase, an opensource Firebase alternative.

To run connect-four-reboot-admin, you have to run the both components.

Run the connect-four-reboot-admin api (postrgrest)

First install the app with :

make install

Then, copy the .env.sample file to create your development environment file .env.

Now run:

make run

This command will start both components:

  • Supbase with a populated, ready to use database
  • react-admin front end vite server

If you want go into details, you have several goals in the makefile related to supabase. Please see the makefile.

Development connect-four-reboot-admin frontend

Start the react-admin application in development mode by running:

make run-ra-dev

Production connect-four-reboot-admin frontend

Build the react-admin application in production mode by running:

make build

Misc

You have several make goals to improve the quality of the code:

make type-check
make lint
make format