A mobile application that finds the nearest Housing Development Board (HDB) car park from your current location in Singapore. The application displays the number of available lots in the car park as well.
Tools used:
- Expo
- React Native
- NodeJS
- MongoDB Stitch
- MongoDB Atlas
- DotEnv
Main libraries used:
- axios
- react-native-maps
- react-native-map-directions
- react-native-paper
- react-navigation
- rn-bottom-drawer
npm install
npm install -g expo-cli
Attached to this project is a .env_sample file.
Replace the contents with the desired values:
APP_ID= ADD APP ID HERE
STITCH_SERVICE_NAME= ADD STITCH SERVICE NAME HERE
DB_NAME= ADD DATABASE NAME HERE
COLLECTION_NAME= ADD COLLECTION NAME HERE
Rename the sample file to .env afterwards
expo start
Devtool webpage will pop up in browser. Select your choice for displaying the app.
Select tunnel if scanning QR Code. High chance of not getting connection issues.
Best practices of React Native was not used properly in this project. It would definitely be better if there was more time given