Skip to content

CivicDataLab/OPub_ProviderPortal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Getting Started

Development Environment:

  • Run a local CKAN and KeyCloak instance to which you want to connect OPUB front-end.

  • Create '.env.local' file in the OPUB project folder with the following:

STRAPI_URL='https://dev.strapi.idp.civicdatalab.in'
DATAPIPELINE_URL='http://13.232.239.70/'
CKAN_BASE_URL='https://ndp.ckan.civicdatalab.in'
NEXT_PUBLIC_STRAPI_URL='https://dev.strapi.idp.civicdatalab.in'
NEXT_PUBLIC_BACKEND_URL='https://dev.backend.idp.civicdatalab.in'

BACKEND_URL='https://dev.backend.idp.civicdatalab.in'
NEXT_PUBLIC_AUTH_URL='https://dev.auth.idp.civicdatalab.in'

NEXT_PUBLIC_KEYCLOAK_REALM='external'
NEXT_PUBLIC_KEYCLOAK_BASE_URL='https://dev.kc.idp.civicdatalab.in'
NEXT_PUBLIC_KEYCLOAK_CLIENTID='opub-idp'

KEYCLOAK_BASE_URL='https://dev.kc.idp.civicdatalab.in'
KEYCLOAK_REALM='external'
KEYCLOAK_CLIENTID='opub-idp'
KEYCLOAK_SECRET='YCsLCvO3kNIMcx6tz24jEzAmiHKxpErs'
NEXTAUTH_SECRET='YCsLCvO3kNIMcx6tz24jEzAmiHKxpErs'

NEXT_PUBLIC_TRANSFORMATION_URL='https://dev.pipeline.idp.civicdatalab.in'

NEXTAUTH_URL='http://localhost:3000'
  • Run the development server:
npm run dev
# or
yarn dev

You can start editing the page by modifying pages/index.js. The page auto-updates as you edit the file.

API routes can be accessed on http://localhost:3000/api/hello. This endpoint can be edited in pages/api/hello.js.

The pages/api directory is mapped to /api/*. Files in this directory are treated as API routes instead of React pages.

Learn More

To learn more about Next.js, take a look at the following resources:

You can check out the Next.js GitHub repository - your feedback and contributions are welcome!

Deploy on Vercel

The easiest way to deploy your Next.js app is to use the Vercel Platform from the creators of Next.js.

Check out our Next.js deployment documentation for more details.

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages