This repository contains the source code of the RappiTours Trails Management App
-
Clone this Repository
git clone https://github.com/IMS-coding-projects/M248.git
-
Enter Folder
cd ./M248/rappitours/
-
Install Dependencies (Packages)
npm install --force
Important
You need to use the --force
tag, because of a conflict between the react version and ui.shadcn. For more information, visit this site
- Copy and Modify Environment Variables
cp .env.example .env
Note
You need to modify the .env
file with your own environment variables. Check the .env.example
file for which tokens/variables you need to set.
If you do not have any tokens, you can contact us for a test token.
-
Run the Project
npm run dev
-
Open the Browser Unless you manually changed the port, this app will run on localhost:3000
Tip
The app has default tours. One tour is from start on disabled, one will be disabled after 2 minutes and the third one after 2 hours.
To refresh the default trails, you have to remove them from the localStorage. They are saved under the trails
key.
This project is licensed under the GNU General Public License v3.0. To see what you can do, check out the LICENSE page.