freestyle-sh / freestyle-astro-template

Deploy Astro.js to freestyle.sh with cloudstate javascript object persistence.
https://www.freestyle.sh
MIT License
50 stars 6 forks source link

Migrate Codebase from Astro to Next.js 14 #2

Closed rohankumarchaudhary67 closed 2 months ago

rohankumarchaudhary67 commented 3 months ago

We need to migrate your current codebase from Astro to Next.js 14 due to several advantages that Next.js offers for your use case. Here are the main reasons for the migration:

Tasks:

This migration is crucial to leverage Next.js's full-stack capabilities, built-in features, and strong ecosystem, which will support your current and future project needs.

prynsh commented 3 months ago

@rohankumarchaudhary67 @JacobZwang I am willing to work on this. But when i tried to run this code locally I am running into error as shown in the image below. image I even tried running it on Stack Blitz but the error is produced. image Can you please help me with this. Thank you.

Shan006 commented 3 months ago

I have migrate this repo from Astro to Next.js 14. How can I initiate a PR ?

prynsh commented 3 months ago

Hey @Shan006 did you face the same error as the one I mentioned above. If yes, can you please help me set this up locally.

Shan006 commented 3 months ago

Run these commands 1) npm i (to install dependencies) 2) npx astro dev (to start the development server)

prynsh commented 3 months ago

This creates a simple todo application. But I believe we need to convert the whole website into nextjs image