Skip to content

laicwew/FoodGuide

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FoodGuide

FoodGuide is a web application designed to help tourists discover nearby restaurants. 图片 图片 图片 图片 图片

Setup and Running the Application

To run FoodGuide, follow these steps:

1. Install Dependencies

Navigate to both the client and server directories and install the necessary dependencies.

For the client directory:

cd ../client
npm install

For the server directory:

cd ../server
npm install

2. Build the Project

In each directory, build the project:

For the client directory:

cd ../client
npm run build

For the server directory:

cd ../server
npm run build

3. Start the Server and Client

Start the server first, then the client:

For the server directory:

cd ../server
npm start

For the client directory:

cd ../client
npm start

You can access the frontend at http://localhost:5173.

Docker Compose

Currently, Docker Compose containerization is not fully functional. Although the frontend displays correctly after running docker-compose up --build, the frontend is unable to send requests to the backend. Therefore, the API request settings are configured to work with local testing.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published