mirror of
https://github.com/seanmorley15/AdventureLog.git
synced 2026-02-06 12:51:02 -05:00
798ce1e3e51f1c1a5cbbb94f299403bc5b7ec7fe
The code changes include adding a new function called saveAdventure to the adventureService module. This function is responsible for sending a PUT request to the corresponding API endpoint to save an adventure. If the request is successful, the local adventure array is updated with the new data. If the request fails, an empty array is returned to allow for handling errors.
AdventureLog: Embark, Explore, Remember. 🌍
⚠️ AdventureLog is in early development and is not recommended for production use until version 1.0!
"Never forget an adventure with AdventureLog - Your ultimate travel companion!"
Installation
Docker 🐋 (Recomended)
- Clone the repository
- Edit the
docker-compose.ymlfile and change the database password - Run
docker compose up -dto build the image and start the container - Wait for the app to start up and migrate then visit the port and enjoy!
- After navigating to the app, fill out the form to create the admin user.
Note: The ORIGIN variable is required for CSRF protection. It can be omitted if using a reverse proxy or other HTTPS service.
Description
Languages
Svelte
53.1%
Python
38%
TypeScript
6.1%
Shell
1.3%
HTML
1.1%
Other
0.4%