Skip to content

DataAnalyticsinStudentHands/NWC_frontend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

648 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NWC Frontend

This is the client-side interface for the 1977 NWC project. It is built with Create-React-App and react-router-dom. The backend it interacts can be found at https://github.com/DataAnalyticsinStudentHands/NWC_backend.

Development

Run: npm run start after configuring the environment variables.

We are following standard procedures for a Create-React-App deployment using a build.

The development version will use a subfolder /dev and uses the package.json file.

Staging/Deployment

In a nutshell run: npm run build

For staging: use pm2 to serve the build directory

Production

For production, use the package_production.json file.

Run: npm run build

Move/copy the \build directory into web server document root directory.

Environment variables

We are using environment variables and the following must exists:

REACT_APP_API_URL = 
REACT_APP_MAPBOX_ACCESS_TOKEN = 
REACT_APP_PRODUCTION = false

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors