This is the very begining of a new project called mono-folio, it is a Next.js based web client to unleash web development experiments for newbies and experimented developers.
It will be a project to empower other developers to have not only an starting point for their own portfolio but also as a reference for newbies to learn and practice with a simple approach to web technologies using a monorepo solution ready to deploy right to the cloud
Note: the initial version is still in progress, it has some testing mocks and texts.
Update documentation with a clear step by step tutorial for deploying in vercel and render cloud services
Next.js v14 requires Node.js 18.17.0 or later. It's recommended to use a node version manager such as nvm or an alternative.
If you're using nvm, you can run the following command to install the correct version of node:
nvm use
Once your node version is setup correctly, the next step is to install the dependencies by running:
yarn
If this is your first time running the app, you'll want to create a .env.local
file in the root of the project by copying the .env.development
file. Make sure to update the values in the .env.local
file to match your local environment.
backend
: a Node app running Strapidocs
: a Next.js appweb
: a Next.js appstorybook
: a Storybook implementation
ui
: a stub React component library shared by all the applicationseslint-config
:eslint
configurations (includeseslint-config-next
andeslint-config-prettier
) for code lintingtypescript-config
:tsconfig.json
s used throughout the monorepo
Each package/app is 100% TypeScript.
Check CONTRIBUTING.md guidelines to get a context before contributing to this repository.
To run the app locally, use the following command:
yarn dev
To run unit tests, use the following command:
yarn test
To check the code is formatted correctly, use the following command:
yarn lint
To format the code, use the following command:
yarn format
To run the component library Storybook, use the following command:
yarn workspace @mono-folio/storybook storybook
To build all apps and packages, run the following command:
yarn build
See the package.json in the root of the repo for a full list of commands you can run.
- TypeScript for static type checking
- ESLint for code linting
- Prettier for code formatting
Learn more about the power of Turborepo: