https://github.com/geovation/usemap-reactjs
A ReactJS front end for the UseMap application
https://github.com/geovation/usemap-reactjs
nodejs react reactjs
Last synced: about 2 months ago
JSON representation
A ReactJS front end for the UseMap application
- Host: GitHub
- URL: https://github.com/geovation/usemap-reactjs
- Owner: Geovation
- License: mit
- Created: 2022-05-30T12:44:09.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-01-22T18:03:54.000Z (over 2 years ago)
- Last Synced: 2025-10-24T20:47:40.081Z (8 months ago)
- Topics: nodejs, react, reactjs
- Language: JavaScript
- Homepage:
- Size: 10 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# UseMap ReactJS
A ReactJS front end for the UseMap application. This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
## Getting Started
These instructions will give you a copy of the project up and running on
your local machine for development and testing purposes. See deployment
for notes on deploying the project on a live system.
### Prerequisites
- [NodeJS](https://nodejs.org/en/)
### Installing
```console
npm install
```
In the project directory, you can then run:
```console
npm start
```
This runs the app in the development mode.\
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
To run the application, the API should also be running.
### Environment variables
In development, environment variables can be set within the `.env` file (can be created by copying the `.env.sample` file). This file is excluded from source control and should never be committed in public code.
During production runtime the environment variables can be set within the build environment e.g. within GitHub actions. As this is a client side project it should be noted that those values will be available within the built code.
| Variable | Description |
| ---------------------- | -------------------------------------- |
| REACT_APP_OS_MAP_URL | A URL for the OS Base Map Tile Service |
| REACT_APP_API_BASE_URL | A URL for the supporting API |
## Deployment
```console
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.
## Authors
See the list of
[contributors](https://github.com/PurpleBooth/a-good-readme-template/contributors)
who participated in this project.
## License
This project is licensed under the [MIT](LICENSE.md) License - see the [LICENSE.md](LICENSE.md) file for details
## Acknowledgements and Technologies
- [ReactJS](https://reactjs.org/)
- [Material UI](https://mui.com/)
- [MapLibre](https://maplibre.org/)