Skip to content

map1t0/atrappos-mob

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Atrappos Mobile

Mobile Application for the project Atrappos

Available Scripts

In the project directory, you can run:

npm install

And then:

npm start

Runs the app in the development mode.
Open http://localhost:4000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

Also, SCSS is compiled automatically.

Production Build

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

DEPLOY

npm install -g serve

serve -s build

ENVIRONMENT VARIABLES

  • SERVER_URL: <Atrappos server url>
  • THUNDERFOREST_API_KEY: An api key acquired from Thunderforest Maps
  • STADIA_API_KEY: An api key acquired from Stadia Maps
  • DESKTOP_APP_URL: <Atrappos desktop App url for redirecting>
  • GA_ID: Your Google Analytics ID

At Atrappos Server a new environment variable should be added:

MOB_CLIENT_URL: <The hostname of this app>

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published