Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Built for the final project in my full-stack bootcamp, this app uses React, Apol
- **Backend:** Node.js, Express, GraphQL (Apollo Server), Mongoose
- **Database:** MongoDB Atlas
- **Authentication:** JSON Web Tokens (JWT)
- **APIs:** OpenRouteService (mileage), OpenWeatherMap (weather)
- **APIs:** OpenRouteService (mileage), OpenWeatherMap (weather), UselessFacts and National Park Service (funfacts), and Google Maps
- **CI/CD:** GitHub Actions
- **Deployment:** Render

Expand Down
2 changes: 1 addition & 1 deletion client/src/components/AuthForm.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ const AuthForm: React.FC = () => {

{loading && (
<p className="text-sm text-gray-500 text-center">
Logging in... please wait
Logging in... please wait
</p>
)}
{errorMessage && (
Expand Down
4 changes: 2 additions & 2 deletions client/src/main.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ import { AuthProvider } from "./context/AuthContext";
// Setup HTTP connection to GraphQL
const httpLink = createHttpLink({
// TODO: USE THIS FOR LOCAL TESTING:
uri: "http://localhost:3001/graphql",
// uri: "http://localhost:3001/graphql",

// TODO: USE THIS FOR DEPLOY
//uri: "https://miletracker-wokk.onrender.com/graphql",
uri: "https://miletracker-wokk.onrender.com/graphql",
});

// Attach token to headers
Expand Down