Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adds API Integration support | Splash Page #1

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

Sam-DeGuzman
Copy link

No description provided.

Comment on lines +1 to +8
import axios from "axios";

export default axios.create({
baseURL: process.env.NEXT_PUBLIC_API_URL || "http://localhost:3000",
headers: {
"Content-type": "application/json",
},
});

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's use react query

Copy link

@venkatesh16031999 venkatesh16031999 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review is not indepth. We have to cleanup the unwanted code and maintain proper structure from the start itself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants