Skip to content

cyanzule/example-polare

Repository files navigation

About Example Polare

Example website for login + profile page, using a stack of PostSQL 12, Laravel (including routing) and React (though Inertia + React Admin). Really simple and scatfold-y.

Setup

Make sure there's a Postsql server running with a database named polare (name can be changed), and the right credentials are present over in the .env file.

composer install
npm install
php artisan migrate:install

Use php artisan migrate:fresh --seed afterwards to add some example profiles.

To see if the database is properly setup:

php artisan migrate:status

Testing

To do a dev test:

npm run watch
php artisan serve

Production

Change the .env file to production and then...

To-do

  • Include FUNCTIONAL React Admin
    • Understand how to integrate axios for API access
    • Lock access to Admin (special account? so an extra table?)
    • Logout is broken (integrate with Inertia)
    • Password isn't being encrypted on update
    • Verified toggle isn't working
  • Display user stats on Dashboard
  • Allow to edit user stats
  • Move to Heroku for testing
  • Github CI/CD
  • Add bell & whistles
    • Custom front page
    • More user stats?

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages