This project is associated with the University of Auckland SOFTENG 310.
Plateful is a full-stack web application for discovering restaurants. It helps users find restaurants by name, cuisine, tags, and more, with a modern, responsive interface and a robust backend API.
Explore the docs »
Report Bug
·
Request Feature
Table of Contents
Plateful is a full-stack web app for discovering restaurants with search, filter, and favorites functionality.
Built with a modern tech stack, it connects a React frontend, Spring Boot backend, and MongoDB database to deliver a smooth and responsive user experience.
Key Features:
- 🍽️ Search & filter restaurants by cuisine, tags, or name
- ⭐ Save favorites for quick access
- 🗺️ Map integration for location-based search
- 📱 Responsive design with a clean UI
This section should list any major frameworks/libraries used to bootstrap your project. Leave any add-ons/plugins for the acknowledgements section. Here are a few examples.
This is an example of how you may give instructions on setting up your project locally. To get a local copy up and running follow these simple example steps.
This is an example of how to list things you need to use the software and how to install them.
-
Node.js & npm
Download from Node.js official site (v18+ recommended). Verify installation:
node -v npm -v
-
Java 17
Install from Oracle JDK. Verify installation:
java -version
-
Maven 3.8+
Download from Maven official site. Verify installation:
mvn -v
-
MongoDB
We use a MongoDB Atlas cluster to store user data. Contact a team member to get the connection string. Add it to your .env as:
MONGODB_URI=<connection string>
-
Clone the repo
git clone https://github.com/UOA-DCML/se310-plateful cd se310-plateful -
Install dependencies
npm run install:all
-
Start both frontend and backend
npm start
-
Open your browser to http://localhost:5173/
That's it! Both services are now running. See ROOT_COMMANDS.md for all available commands.
If you prefer to run services separately:
-
Clone the repo
git clone https://github.com/UOA-DCML/se310-plateful
-
Navigate to the frontend folder and install npm packages
cd frontend npm install -
Now, make a new terminal and navigate to the backend folder and run SpringBoot
cd backend mvn spring-boot:run -
Go back to the frontend terminal, and start the application
npm run dev
-
You can click the link on the terminal or can type http://localhost:5173/ in your own browser
-
To test on other devices and host website
npm run dev -- --host
All commands can be run from the project root directory.
| Command | Description |
|---|---|
npm run install:frontend |
Install frontend dependencies |
npm run install:all |
Install all project dependencies |
| Command | Description |
|---|---|
npm start |
Start both frontend & backend |
npm run dev:all |
Start both services (same as start) |
npm run dev:frontend |
Start frontend only |
npm run dev:backend |
Start backend only |
| Command | Description |
|---|---|
npm run build:all |
Build both (parallel) |
npm run build:sequential |
Build both (one after another) |
npm run build:frontend |
Build frontend only |
npm run build:backend |
Build backend only |
| Command | Description |
|---|---|
npm run test:all |
Run all tests (parallel) |
npm run test:frontend |
Run frontend tests |
npm run test:backend |
Run backend tests |
| Command | Description |
|---|---|
npm run clean:all |
Clean all build artefacts |
npm run clean:frontend |
Clean frontend (dist, node_modules) |
npm run clean:backend |
Clean backend (Maven clean) |
| Command | Description |
|---|---|
npm run lint:frontend |
Run ESLint on frontend |
npm run preview:frontend |
Preview production build |
For more detailed information, see ROOT_COMMANDS.md.
In order for Sonar to work, a .env file containing the API key must be placed in the backend folder. Please contact us (jkan172@aucklanduni.ac.nz) in order to get this .env file.
- A1 Feature
- A1 Feature
- A2 Feature
See the open issues for a full list of proposed features (and known issues).
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
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 MIT License. See LICENSE.txt for more information.
- Best-README_Template
- Kelly Blincoe the GOAT!!! 🐐