Skip to content

🗺 Scratch map inspired web-app that allows users to log flights and visualize them on a shareable digital map.

Notifications You must be signed in to change notification settings

jiecai1997/mapt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Running Instructions

You must run both the frontend app and backend app for them to communicate. Make sure that all dependencies are installed. The frontend dependencies are through node and npm. The backend dependencies are through the requirements.txt in the backend directory.

Frontend

  1. cd to the frontend directory
  2. run npm i to install necessary Node/Angular packages
  3. run npm run start
  4. open localhost:4200 in browser

Backend

NOTE: Do not remove or delete the database or migrations folder. The database has been created and seeded appropriately.

  1. cd to the backend directory
  2. run pip3 install -r requirements.txt to install dependencies
  3. on mac or linux, run ./flast-restart-on-file-change.sh; on windows run set FLASK_DEBUG=1 && set FLASK_APP=app.py && flask run If you want to see the current state of the database you can go to http://127.0.0.1:5000/list in your browser (or localhost:5000/list)

Play around with Mapt!

You can create an account, add your trips, view other user's mapt (if they are public), and see statistics about your travel history! Using the version of app.db given in the repo, you can view a sample profile by going to localhost:4200/1

So that Gradescope wouldn't unzip our files, we are saving it as a .zp file. You can rename it as a zip file and decompress it to run as normal.

About

🗺 Scratch map inspired web-app that allows users to log flights and visualize them on a shareable digital map.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published