MyPlace is your go-to app for tracking and sharing your travel experiences with friends and fellow adventurers. With MyPlace, you can effortlessly pin your visited and dream destinations on an interactive map, creating a visual travelogue that tells your unique story. Whether you're a globetrotter, a weekend explorer, or just planning your next getaway, MyPlace has you covered.
Trello Board can be found here
-
Fork this repository
-
Clone your fork to your local machine
-
Install Node.js dependencies for both the
frontend
andapi
directories.cd api npm install cd ../frontend npm install
-
Install an ESLint plugin for your editor. For example:
linter-eslint
for Atom. -
Install MongoDB
brew tap mongodb/brew brew install [email protected]
-
Start MongoDB
brew services start [email protected]
-
Setup environment variables
Copy the .env.example file and rename .env
update the relevent variable values
-
Start the server application (in the
api
directory)cd api npm run dev
-
Start the front end application (in the
frontend
directory)In a new terminal session...
cd frontend npm run dev
You should now be able to open your browser and go to http://localhost:5173/signup
to create a new user.
Then, after signing up, you should be able to log in by going to http://localhost:5173/login
.
After logging in, you won't see much but you can create posts using PostMan and they should then show up in the browser if you refresh the page.