https://github.com/oracle-samples/oce-nextjs-minimal-sample
A simple site built using Next.js and loading content from Oracle Content Management.
https://github.com/oracle-samples/oce-nextjs-minimal-sample
cms headless-cms headless-sample javascript nextjs oracle-cloud oracle-content-management
Last synced: 4 months ago
JSON representation
A simple site built using Next.js and loading content from Oracle Content Management.
- Host: GitHub
- URL: https://github.com/oracle-samples/oce-nextjs-minimal-sample
- Owner: oracle-samples
- License: upl-1.0
- Archived: true
- Created: 2021-10-25T02:57:21.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-22T14:39:58.000Z (over 1 year ago)
- Last Synced: 2024-08-01T13:34:54.161Z (7 months ago)
- Topics: cms, headless-cms, headless-sample, javascript, nextjs, oracle-cloud, oracle-content-management
- Language: JavaScript
- Homepage:
- Size: 39.1 KB
- Stars: 1
- Watchers: 3
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
- Security: SECURITY.md
Awesome Lists containing this project
README
# About Next.js Minimal Site Sample
This repository holds the sample source code for a [Next.js](https://nextjs.org) implementation of a simple site that uses digital assets managed in Oracle Content Management.
Please see the [complete tutorial](https://www.oracle.com/pls/topic/lookup?ctx=cloud&id=oce-nextjs-minimal-sample) and [live demo](https://headless.mycontentdemo.com/samples/oce-nextjs-minimal-sample).
## How to run
> **NOTE:** If you need to use a proxy to reach the internet then define an oce_https_proxy environment variable:
> export oce_https_proxy=\://\:\Install dependencies by running:
```shell
npm install
```### Development
During development the dev script should be used:
```shell
npm run dev
```This script builds the client and server bundles and starts the application in a local server. Webpack will watch for code changes and recreate the client and server bundles as required.
### Production
For production the build script should be used to build the client and server bundles. Run it using:
```shell
npm run build
```When the script completes the application can be started using:
```shell
npm run start
```and then open [http://localhost:3000](http://localhost:3000)
## Images
Sample images may be downloaded from [https://www.oracle.com/middleware/technologies/content-experience-downloads.html](https://www.oracle.com/middleware/technologies/content-experience-downloads.html) under a separate license. These images are provided for reference purposes only and may not be hosted or redistributed by you.
## Contributing
This project welcomes contributions from the community. Before submitting a pull
request, please [review our contribution guide](./CONTRIBUTING.md).## Security
Please consult the [security guide](./SECURITY.md) for our responsible security
vulnerability disclosure process.## License
Copyright (c) 2021, 2022, Oracle and/or its affiliates.
Released under the Universal Permissive License v1.0 as shown at
.