Skip to content

ioniodi/atrappos-web

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Atrappos Web

Desktop Application for the project Atrappos

Available Scripts

In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 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
  • MOBILE_APP_URL: <Atrappos mobile App url for redirecting>
  • GA_ID: Your Google Analytics ID

At Atrappos Server a new environment variable should be added:

CLIENT_URL: <The hostname of this app>

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 76.7%
  • SCSS 11.8%
  • CSS 10.8%
  • Other 0.7%