This project visualizes the gno.land ecosystem using a Next.js frontend and a Go backend.
- Node.js (v16 or higher)
- npm or yarn
- Go (v1.24 or higher)
- Docker (optional, for containerized backend)
-
Navigate to the frontend directory:
cd gnoland-visualized
-
Install the dependencies:
npm install # or yarn install
-
Create a
.env.local
file:NEXT_PUBLIC_API_URL=http://localhost:8080
-
Start the development server:
npm start
-
Open your browser and go to
http://localhost:3000
to see the application.
-
Navigate to the backend directory:
cd go-backend
-
Build the backend:
go build -o go-backend ./main
-
Run the backend:
./go-backend
-
The backend server will be running at
http://localhost:8080
.
- Navigate to the backend directory:
cd go-backend
- Build the Docker image:
docker build -t go-backend .
- Run the Docker container:
docker run -p 8080:8080 go-backend
Contributions are welcome! Please open an issue or submit a pull request.