This is a Next.js project bootstrapped with create-next-app
.
First, create a .env
file in the root of the project. In this, place the API URL with the key NEXT_PUBLIC_API_BASE_URL
and then the URL of API server.
For example, to connect to a locally-running API server on port 5055:
NEXT_PUBLIC_API_BASE_URL=http://localhost:5055/api
Next, install dependencies by running:
npm install
Then, run the development server:
npm run dev
# or
yarn dev
# or
pnpm dev
# or
bun dev
Open http://localhost:3000 with your browser to see the result.
/login
Login page to sign into admin or user account. Admin account will redirect to/admin
. Signing in as a normal user will allow user to add Blocks to their account./admin
Admin management page to handle the creation of new Blocks.