Skip to content

Latest commit

 

History

History
42 lines (26 loc) · 1.29 KB

README.md

File metadata and controls

42 lines (26 loc) · 1.29 KB

Public Website Template - Built with NextJS

Mix of Create Next App (App Router) with set of reusable components and utilities to build professional SEO friendly websites.

How to use

  1. Clone the repository
  2. Run npm i to install all dependencies
  3. Copy .env.example to .env or .env.local and set all required environment variables
  4. Find all TODO: in the code and follow the instructions
  5. Run npm run dev to start the development server
  6. Add your own pages to the /src/app folder
  7. Run npm run build to build the application into out folder
  8. Host the content of the out folder anywhere you want.

Available Scripts

In the project directory, you can run:

npm run dev

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

npm run lint

Checks the code for errors and missing things

npm run format

Formats the code according to ./prettierrc.js config

npm test

Launches the test runner in the interactive watch mode.

npm run build

Builds the app for production or local development to the .next folder.