This is an example application that uses Formidablejs and Vuejs.
Clone the repo:
git clone https://github.com/donaldp/formidablejs-example
Steps to set up the API:
cd formidablejs-example/api
npm i
cp .env.example .env
craftsman key
craftsman cache
Running the API:
craftsman serve --dev
API will be available at: http://localhost:3000
Steps to set up the frontend/client:
cd formidablejs-example/client
npm i
cp .env.example .env
Running the frontend/client:
npm run serve
Frontend will be available at: http://localhost:8080
If the API is running on a different port, you can change the VUE_APP_API_URL
value in the formidablejs-example/client/.env
file an.
You will also be required to change the APP_URL
value in the formidablejs-example/api/.env
file.
If the frontend/client is running on a different port, you can change the CLIENT_URL
value in the formidablejs-example/api/.env
file.
email: [email protected]
pass: password
You can have peek at the demo at: https://todo.obsidiandev.io
Note: credentials above don't work on the demo site.
The MIT License (MIT). Please see License File for more information.