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

landing page redirect #249

Merged
merged 12 commits into from
Dec 31, 2024
Merged

Conversation

Xaxxoo
Copy link
Contributor

@Xaxxoo Xaxxoo commented Dec 19, 2024

Detailed Information


Related Issues

Closes #242


Type of Change

  • πŸ› Bug fix or βš™οΈ enhancement
  • ✨ New feature or Chore (change with no new features or fixes)
  • πŸ“š Documentation update

Checklist (select as many as applicable)

  • The code follows the style guidelines of this project.
  • All new and existing tests pass.
  • This pull request is ready to be merged and reviewed.

Copy link
Contributor

@Solomonsolomonsolomon Solomonsolomonsolomon left a comment

Choose a reason for hiding this comment

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

@Xaxxoo you included node_modules, please remove

@Xaxxoo
Copy link
Contributor Author

Xaxxoo commented Dec 19, 2024

@Xaxxoo you included node_modules, please remove

removed. My bad.

@fishonamos fishonamos self-requested a review December 19, 2024 07:00
@fishonamos
Copy link
Member

Please add the issue number to the description.

Copy link
Contributor

Choose a reason for hiding this comment

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

please we use pnpm instead of npm for app/client.kindly revert

@@ -8,7 +8,7 @@ import { config } from "./config";
const app = express();

// Middleware
app.use(helmet());
// app.use(helmet());
Copy link
Contributor

Choose a reason for hiding this comment

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

i noticed you commented out this line. might i ask why?

@@ -1,7 +1,7 @@
import axios from "axios";

export const api = axios.create({
baseURL: process.env.NEXT_PUBLIC_API_URL,
baseURL: 'http://localhost:3000',
Copy link
Contributor

Choose a reason for hiding this comment

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

please dont hardcode the base url

package.json Outdated
@@ -2,6 +2,13 @@
"dependencies": {
"@apibara/indexer": "^0.4.1",
"@apibara/protocol": "^0.4.9",
"dotenv": "^16.4.7",
Copy link
Contributor

Choose a reason for hiding this comment

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

you're installing packages in the wrong directory

pnpm-lock.yaml Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

this is at the root folder,it is /app/client that uses a pnpm lock

package.json Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

youre installing deps in the root folder, this should be in the /land-registry-backend

Copy link
Contributor

Choose a reason for hiding this comment

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

please restore file as land-registry-backend uses npm. its /app/client that uses pnpm

Copy link
Contributor

Choose a reason for hiding this comment

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

app/client still has a package-lock. it should use a pnpm-lock

@Solomonsolomonsolomon Solomonsolomonsolomon merged commit 33f9695 into NoshonNetworks:main Dec 31, 2024
1 check passed
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.

Ensure Logged-In Users cannot access landing page
3 participants