Repository files navigation
Create new directory for your new project. Run (replace my-app
with any name):
mkdir my-app && cd my-app
Clone this repo. Run:
git clone git@github.com:ekabolotina/skeleton-front-end.git .
Make sure you have Node.js (^14.15.0) and Yarn (^1.16.0) installed.
Install the dependencies. Run:
Set up your new project using CLI. Run and follow the instructions:
Install the dependencies. Run:
Set up environment variables. See list of pre-configured environment
variables bellow. Run:
Start the development server (see additional info about this feature). Run:
Open http://localhost:3000 in your browser.
Install the dependencies. Run:
Make the production build. Run:
Start server (see additional info about this feature). Run:
Pre-configured environment variables
NEXT_STATIC_API_BASE_URL — useful for configuring base URL for any
API calls.
NEXT_STATIC_ASSETS_VERSION — version of public assets. Can be used
to reset browser cache of any assets.
NEXT_STATIC_SLACK_API_TOKEN and NEXT_STATIC_SLACK_API_CHANNEL —
used to log errors to any Slack channel using Slack APIs .
About
Skeleton front-end project built on top of Next.js
Resources
Stars
Watchers
Forks
You can’t perform that action at this time.