Skip to content

Lin-cT/travel_backends

Repository files navigation

San Diego Travel Guide Backend

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

Getting Started

Follow these steps to set up the backend server:

  1. Clone the repository:

    git clone https://github.com/your-username/sandiego-travel-guide-backend.git
  2. Navigate to the project directory:

    cd sandiego-travel-guide-backend
  3. Install Python and dependencies:

    pip install -r requirements.txt
  4. Run the Flask server:

    python main.py
  5. Access the APIs locally at http://127.0.0.1:8010/.

Idea

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.

Hacks

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.

Files and Directories

  • 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.

Contributing

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.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors