Skip to content

A minimal implementation of Altcha in a Symfony6 + Nuxt.js 3 project

Notifications You must be signed in to change notification settings

olinox14/altcha-demo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Model: Symfony+Nuxt+Caddy

A minimal implementation of Altcha in a Symfony 7 / ApiPlatform 3 + Nuxt.js 3 environment

Install

Add those lines to your hosts file:

127.0.0.1 local.api.altcha-demo.net
127.0.0.1 local.app.altcha-demo.net

Copy the .env files, and edit it if needed:

cp .env.skeleton .env
cp api/.env.skeleton api/.env

Change the DB root password in :

  • api/.env
  • .env

Run from the project directory:

docker-compose build
docker-compose up

Install dependencies :

docker exec -it altchademo_api bash
composer install
exit

docker exec -it altchademo_app bash
yarn install
exit

Run

Run from the project directory:

docker-compose up

Start the nuxt server:

docker exec -it altchademo_app bash
yarn dev

Your nuxt app should now be accessible in your browser at https://local.app.altcha-demo.net.

Note

You'll probably have to reach at least once the url https://local.api.altcha-demo.net in your browser to add a security exception. Not doing so could lead to a CORS exception while validating the captcha.

About

A minimal implementation of Altcha in a Symfony6 + Nuxt.js 3 project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published