Skip to content

Simple SPA with React + NextJs front-end and Laravel 8 back-end

License

Notifications You must be signed in to change notification settings

ticovix/spa-nextjs-laravel-base

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple SPA with React + NextJs front-end and Laravel 8 back-end

Layout created with Ant Design and Styled Component.
JWT user authentication.

Features:

  • Login
  • Refresh token
  • Reset password
  • Logout
  • Admin users CRUD
  • Update logged user password
  • Update logged user data

Hosts

127.0.0.1 project.local

Server Requirements

  • PHP >= 7.3
  • BCMath PHP Extension
  • Ctype PHP Extension
  • Fileinfo PHP Extension
  • JSON PHP Extension
  • Mbstring PHP Extension
  • OpenSSL PHP Extension
  • PDO PHP Extension
  • Tokenizer PHP Extension
  • XML PHP Extension
  • GD PHP Extension
  • Node (yarn or npm)

Commands to execute back-end with Docker

Obs: Execute only in backend folder

   cp .env.example .env && \
   docker-compose up -d && \ 
   docker-compose exec php composer update && \
   docker-compose exec php php artisan key:generate && \
   docker-compose exec php php artisan migrate --seed && \
   docker-compose exec php php artisan jwt:secret

Commands to execute front-end

Obs: Execute only in backoffice folder

    cp .env.example .env.local && \
    yarn && \
    yarn dev

About

Simple SPA with React + NextJs front-end and Laravel 8 back-end

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published