Phone Tracker helps you find and locate your phone by feeding the relevent data to the website, please provide the details carefully.once you have registered your phone, other people might want to help you out by reaching you with your email address!
Follow these instructions to get a copy of the project up and running on your local machine for development and testing purposes.
git clone https://github.com/GeekkyCoder/FYP.gitgit checkout -b feature-branch
In the root directory, install the dependencies:
npm i Navigate to the server folder and install the backend dependencies:
cd servernpm iMake sure to set the following environment variables:
. HOST=<8000>
. ACCESS_TOKEN=<provide a access token , a random big string>
. JWT_LIFETIME=<provide a number here, what will be lifetime of jwt token lifetime, afterwards it will expires>
. MONGO_URL=<your mongodb database url>
. EMAIL=<your email for sending out emails to customers>
. PASSWORD=<your email app password>
. SERVICE=<gmail>
In the root directory, run:
npm run devNavigate to the server directory and run:
npm run watchCopy and paste the frontend localhost on your browser: http://localhost:5173
if you see your frontend localhost being set to 127.0.0.1 change it to localhost:5173.