Roots is a web application to centralized information and social network links to make them easy to manage. One link for your digital presence designed and developed by Dynamic Devs.
-
Clone the project
git clone git@github.com:dynamicdevs/roots.git
-
Navigate to path project
cd roots
-
Create .env file and add environment variables.
NX_ACCESS_TOKEN=<your-contentful-access-token> NX_SPACE_ID=<your-contentful-space-id> NX_ENVIRONMENT=<your-contentful-environment>
-
Install dependencies
npm install
-
Start project
npx nx serve website
It’s recommended to use relative paths for a better project managing. E.g.
Without alias
import Icon from '../../elements/atoms/Icon';
With alias
import Icon from '@app/elements/atoms/Icon';
The alias is configured within tsconfig.json website
app
{
"baseUrl": ".",
"paths": {
"@*": ["./src/*"]
}
}
Join to the conversation and help the community.
Dynamic Devs - business@dynamicdevs.io