This is a Next.js project bootstrapped with create-next-app
.
First, install environment:
npm install
Next, run the development server:
npm start
# or
yarn start
Finally, start project as service:
npm install pm2@latest -g
# start service
pm2 start --name solucky-frontend npm -- start
# end service
pm2 stop solucky-frontend