Table of Contents
This is the frontend of Política Aberta, an open source project to help the Portuguese electors to choose their vote. It acts like a chatbot, where users can ask things to political parties and the answer is based on their political program.
Feel free to clone this repo, run it locally and contribute!
The following prerequisites are needed to run the project:
-
Node
# Linux apt install node #OSX brew install node
-
npm
# Linux apt install npm #OSX brew install npm
-
[Optional] Docker
# Linux apt install docker #OSX brew install docker
- Clone the repo
git clone https://github.com/politica-aberta/frontend.git && cd frontend
- Install Python packages
npm i
- Edit
.env.localfile with your own data
To run the project locally, simply run it with flask cli:
npm run devYou can also run it with docker
docker compose up --build- Add prompt examples
- Enhance signup email
- Apple sign up
- install bun in docker for faster deployments
- stream backend responses
See the open issues for a full list of proposed features (and known issues).
Any contributions are greatly appreciated :)
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the corresponding tag.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Distributed under the MIT License. See LICENSE.txt for more information.
Hugo Pitorro - xtwigs - pitorro@politica-aberta.pt
José Martinho - jmartinhoj - martinho@politica-aberta.pt
Project Link: https://github.com/politica-aberta/frontend
