A prototype application written in TypeScript and React.js to easily visualize in Microsoft Azure Maps all the current active food trucks in the city of San Francisco, CA.
- React.js / create-react-app
- TypeScript
- React Bootstrap
- React-Azure-Maps
- NGINX
- Docker
- SoQL for San Francisco Data API
The following instructions will get you up and running in your local environment.
- NPM 6.14+
- Node 12.16+
- Azure Maps Subscription Key
git clone https://github.com/joaquinrz/sf-foodtrucks.git && cd sf-foodtrucks
npm install
echo "REACT_APP_AZURE_MAP_API_KEY=<YOUR_KEY_GOES_HERE>" >> .env
npm start
The application will now be ready to be seen at http://localhost:3000
npm run build
docker build --build-arg REACT_APP_AZURE_MAP_API_KEY=<YOUR_KEY_GOES_HERE> . -t <repo_name>/<image_name>
- Add search functionality
- Integrate geolocation services to view user's current position
- Integrate with Yelp API to provide more information about the food trucks (rating, telephone, hours of operation, etc)
- Filter results
- Have a datastore available (e.g. MongoDB, Elasticsearch) to store the food trucks data without having to rely on the San Francisco API in case it comes down and also to improve performance
Coming from a backend development background, this application was an excellent and innovative way to be even more familiarized with some of the React.js capabilities as well as the Azure Cloud Services Catalog.
- Joaquin Rodriguez - Initial work - joaquinrz
- Icon made by Freepik from www.flaticon.com