The web-based user interface using Next.js and Tailwind CSS that will run on a robot/stop display with a screen size of 1920x1080.
- NodeJS v20.9.0
- Chrome v119.0.6045.160
- Screen Resolution 1920x1080 (16:9)
- Git
.
├── public/
│ └── assets/
│ ├── images/
│ ├── icons/
│ └── logos/
├── src/
│ ├── app/
│ │ ├── api/
│ │ └── ...
│ ├── components/
│ ├── enum/
│ ├── sections/
│ ├── services/
│ └── utils/
├── Dockerfile
├── package.json
├── next.config.json
└── tailwind.config.js
Contains all the assets needed to create a website display.
Contains all the code and page routes. there is page.js which functions to display the main page or menu selection place.
Folder to provide routes or endpoints that ai models can use to send user-type data useful for improving user experience and corresponding recommendation menus.
Folder for animal menu pages including detail pages, feedback, videos, and other animal views.
Folder for public facility menu pages including detail pages, feedback, and other facility views.
Folder for food store menu pages including detail pages, feedback, and other store views.
Folder for map page routes, where all information is displayed on the map. Users can search for facilities, animals, shops, view locations, and customized recommendations. Users can also customize the map size for clarity of search locations.
Contains code for creating components that can be reused on multiple pages.
Component | Description |
---|---|
Button | Custom button component that can be clicked by the user. |
Card | A card-shaped component that displays brief information about an item. |
Error-fetch | The component that handles the display when there is an unsuccessful data retrieval from the server. |
Footer | Footer component that is used on every page except the main one as an aid to user navigation. |
Navigation-tracker | Component applied to the layout to keep track of each route that the current user visits. |
Session-modal | Component that handles the display when the user does not respond within 20 seconds. |
Video-player | Component that handles the display of pages that need to show videos. |
Follow these steps to run the project on your local machine:
-
Clone the repository
git clone https://github.com/Veda50/remosto-fe.git
-
Install the dependencies
npm install
-
Start the development server
npm run dev
-
Open http://localhost:3000 to see the result
Follow these steps to deploy the application on Vercel:
-
Ensure you have the Vercel CLI installed.
-
Log in to your Vercel account
vercel login
-
Deploy the application by running
vercel # for development deployment # or vercel --prod # for production deployment
-
Add the environment variable to your deployment, you can do this in the project settings on Vercel. See this guide for more details