"Guess My Location" is a web-based interactive online game that allows users to upload pictures of various locations.
You can also view other people's posts and participate in guessing their location through an interactive Google Maps.
- Clone this repository
cd GuessTheLocation
cd server && npm i
to install dependencies for the server directory- Note: npx db-migrate up --config database/database.json to set up database ---- ps is this still the necessary step as it gives me error msg and I finished setup without using it
npm run dev
. You should get messageServer listening on 3001
- Open a new terminal and run
cd GuessTheLocation/client
- Run
npm i
to install dependencies for the client directory npm start
- Navigate to
localhost:3000
, you should see "Hello from server!" message displayed- Note: you should also see the message when navigating to
localhost:3001/api
- Note: you should also see the message when navigating to
- Always create a new branch
- Start both the client and server (see instructions above)
- Simply save your changes and see them displayed on localhost:3000