https://github.com/charles-dr/nextjs-example
https://github.com/charles-dr/nextjs-example
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/charles-dr/nextjs-example
- Owner: charles-dr
- Created: 2020-05-25T22:14:37.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2022-12-11T07:30:28.000Z (over 2 years ago)
- Last Synced: 2025-02-09T23:36:59.597Z (3 months ago)
- Language: JavaScript
- Size: 5.9 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 14
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Next.JS app setup
Setup for the NextJS app is relatively simple.
Install modules:
`yarn`You will need to configure the API_URL and Stripe public key found within the project.
Make sure to add `/api/v1/` to end of URL
For the API_URL, navigate to the `next.config.js` file and modify within the `env` property of the module exports.
Run development environment/build for production:
`yarn dev`
`yarn build`Production build will be exported to a static build directory at the root of the project.