For years I have used shared cars, and I wanted an easy way to have all the prices listed. Since the costs of these services vary greatly and change a lot, online items/services show outdated prices. Therefore, I created this website that automatically retrieves the latest prices.
In true engineering spirit this project is made majorly overkill using the following technologies:
This project uses a couple of development wrapper to increase developer experience. To get started install:
- Nix
sh <(curl -L https://nixos.org/nix/install) --daemon
- Direnv, don't forget to hook into your terminal emulator
- Run
direnv allow
in project root
-
Get a Google Maps API key
-
Clone the repo
git clone [email protected]:martijnboers/WelkeDeelauto.git
-
Change directory to frontend and install NPM packages
npm install
-
Enter your API in
.env
and set FastAPI backendGOOGLE_MAPS_ACCESS_TOKEN='ENTER YOUR API'; BACKEND_URL="http://127.0.0.1:8000"
-
Run
npm run dev
to start the web server -
Enter into backend project
-
Run
poetry install
-
Run
.venv/bin/uvicorn web:app --host 0.0.0.0 --port 8000
-
Refresh frontend page
-
Success!
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 tag "enhancement". Don't forget to give the project a star! Thanks again!
- 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 GPLv3 License. See LICENSE
for more information.