Skip to content

The project or folder contains various Next-JS/Javascript templates based on Primereact/Sakai

Notifications You must be signed in to change notification settings

LikithKumarDK/Sakai-NextJS

Repository files navigation

ReactJS

React is an open-source JavaScript library used for building user interfaces and UI components. You can find its documentation at https://reactjs.org/.

NextJS

Next.js is a popular open-source framework/extension built on top of React. It is used for building server-rendered React applications and static websites. For more information, you can refer to its documentation at https://nextjs.org/docs.

Please follow the below steps

  1. Clone the repository from git using the below command
git clone -b page-router https://github.com/LikithKumarDK/Sakai-NextJS.git
  1. Copy .env.local.example -> .env.local & Update environments variables

  2. Install packages from package.json

npm i
# or
npm install

If there is any obstruction in package installation, please check for Node version which supports Next.js.

Development Mode

Run the development server:

npm run dev

Open http://localhost:3000 with the browser to see the result. If there is any obstruction in starting the node server, please check for Node version which supports Next.js or port which application is running.

Production Mode

  1. To generate the build run the below command
npm run build
  1. Folder by name "out" will be created at the root level of the project directory.

  2. Run "out" folder in local, Try

npx serve@latest out
  1. Deploy the "out" folder as static export build in the server.

About

The project or folder contains various Next-JS/Javascript templates based on Primereact/Sakai

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published