Adventure Atlas is a web app which allows users to view and post brief photo and text memories from travel adventures. Travel memories are set using point and click functionality on a nat geo-style map with accurate lat, long coordination. While viewers who sign up with name and password are able to add and delete their own entires, anyone is able to visit the website and view the shared memories.
- Clone this repository: Open your terminal and use the command
git clone https://github.com/adiainthesky/adventureAtlas.git
into the directory you would like to clone the repository - Inside of terminal, navigate to project directory
- Install all required dependencies by running
npm install
- Set up a Google Cloud Firebase database to hold data and Google Cloud Storage to hold images.
- Add a config.js file to store the credentials of the account you will be using for firebase. Put this file inside of the src file. See example below.
module.exports = {
import firebase from 'firebase/app';
import 'firebase/auth';
import 'firebase/storage';
import 'firebase/firestore';
const firebaseConfig = {
apiKey: "YOUR_API_KEY",
authDomain: "YOUR_PROJECT_ID.firebaseapp.com",
projectId: "YOUR_PROJECT_ID",
storageBucket: "YOUR_PROJECT_ID.appspot.com",
messagingSenderId: "YOUR_SENDER_ID",
appId: "YOUR_APP_ID"
};
const fire = firebase.initializeApp(firebaseConfig);
const projectStorage = firebase.storage();
const db = firebase.firestore();
const timestamp = firebase.firestore.FieldValue.serverTimestamp;
export { fire, projectStorage, db, timestamp };
}
- Inside of project directory, use the command
npm start
to run the application in development mode - This will launch a localhost:3000 in your browser and render the project's react front-end
- Happy virtual travels!
On occasion, trip upload will not function if a prior attempt was unusccessful due to lack of attached img. Clicking outside of popup and trying again, or refreshing page solves issue.
If any errors or bugs occur please email [email protected]. If you would like to contribute to the app (e.g. by improving the documentation, solving a bug or adding a cool new feature), please send me your pull request.
- CSS
- Firebase
- Firestore
- Git
- HTML
- JavaScript ES6
- JSX
- npm
- React-Leaflet
- React
- VSCode
This software is licensed under the MIT License.
Copyright (c) 2021 Adelaide Nalley