Welcome to the backend repository for the San Diego Travel Guide project! This repository serves as the backend server for handling APIs and data management for the San Diego Travel Guide.
GitHub link: San Diego Travel Guide Backend
Follow these steps to set up the backend server:
-
Clone the repository:
git clone https://github.com/your-username/sandiego-travel-guide-backend.git
-
Navigate to the project directory:
cd sandiego-travel-guide-backend -
Install Python and dependencies:
pip install -r requirements.txt
-
Run the Flask server:
python main.py
-
Access the APIs locally at http://127.0.0.1:8010/.
The San Diego Travel Guide Backend serves as the backend piece of the San Diego Travel Guide Full-Stack project. It provides APIs for managing data related to attractions, itineraries, and user preferences.
Customize the starter code to suit your project needs:
- Implement additional endpoints for managing attractions, itineraries, and user preferences.
- Secure APIs with JWT authentication.
- Implement database migrations for schema updates and data migration.
- README.md: Instructions for setting up and running the backend server.
- requirements.txt: Lists dependencies required for the Flask server.
- main.py: Entry point for running the Flask server.
- api: Directory containing code for handling API endpoints.
- model: Directory containing backend functionality implementation.
- templates: Directory containing Jinja2 templates for rendering HTML pages (if applicable).
- projects: Directory for setting up routes to static HTML pages (if applicable).
- .gitignore: Specifies files and directories to be excluded from version control.
- migrate.sh: Script for managing SQLite database schema and data migrations.
Contributions to improve the San Diego Travel Guide Backend are welcome! Here's how you can contribute:
- Submit bug reports or feature requests via GitHub Issues.
- Fork the repository, make changes, and submit a pull request.