You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"Guess My Location" is a web-based interactive online game that allows users to upload pictures of various locations.
Once you create an account, you are able to post pictures and participate in the guessing process.
You will be able to share your post through our embedded Google Maps.
In addition, you can easily track and delete your posts if needed through the "My Posts" page.
You can also view other people's posts and participate in guessing their location through an interactive Google Maps.
A leaderboard is also available for ranking among players.
Local Development
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 message Server 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
Making Changes
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