Where users can search for trails by zipcode and mark them as completed.
This repo contains the client-side React app. Looking for the back-end Trails-To-Go API? Click Here
Users can search for trails by zipcode and can also filter the list by trail rating or length. Users can also register and mark a trail as completed after logging in. User profile section shows the statistics based on the trails completed by the user. Leaderboard shows the top hikers based on trails completed
- React
- HTML5
- CSS3
- Heroku Cloud Application Platform
*** NOTE: The client makes AJAX calls to the Trails To Go API, which should also be running in your development environment
*** NOTE: The client makes AJAX calls to the Trails To Go API, which should also be running in your development environment
- Clone this repository:
git clone https://github.com/supu4aqua/trails-to-go-client.git
- Move into folder:
cd trails-to-go-client/
- Run
npm install
- Run
npm start
- In browser, navigate to
localhost:3000
or your specified port
<<<<<<< HEAD
- Clone this repository:
git clone https://github.com/supu4aqua/trails-to-go-server.git
- Move into folder:
cd trails-to-go-server/
- Run
npm install
- Start PostgresSQL local server:
postgres
- Run
npm start
(ornpm run dev
to run with nodemon which auto-restarts on save changes) - Make requests using the root:
localhost:8080
or your specified port
- Start PostgresSQL local server
postgres
- Run
npm test
/api
.
├── /users
│ └── GET
│ ├── /
│ └── POST
│ └── /
├── /completed
│ └── GET
│ ├── /
│ └── POST
│ └── /
├── /leaderboard
│ └── GET
│ ├── /
>>>>>>> 0a545a7cdb72a9f0e28c0093184ca9f04a7b33b5
- Show user completed trails as markers on Google Map in Profile section
- Allow user to search trails based on current location
- User should be allowed to add a rating
- User should be allowedto leave feedback or comments
- User should be able to post or share the completed trail details on Social Media