ltfschoen / nft-coretime

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multiple packages

Next.js TypeScript frontend + Adonis.js backend + Lerna workspaces

Setup

Note: This is based on https://github.com/andrevesdickow/nextjs-lerna

Install NVM

Install Node.js and Lerna

nvm use
npm install --global lerna

Start backend and frontend

yarn start:backend & yarn start:frontend

Reference: https://yarnpkg.com/getting-started/qa#how-to-share-scripts-between-workspaces

Optional Modifications

Create new workspace package in frontend

cd packages && yarn create next-app mypackage

Add a package to frontend

yarn add dotenv

About

License:GNU Affero General Public License v3.0


Languages

Language:TypeScript 97.1%Language:JavaScript 1.6%Language:CSS 1.3%