https://github.com/ciampo/portfolio-2019
Marco Ciampini's portfolio
https://github.com/ciampo/portfolio-2019
contentful netlify nextjs
Last synced: about 1 month ago
JSON representation
Marco Ciampini's portfolio
- Host: GitHub
- URL: https://github.com/ciampo/portfolio-2019
- Owner: ciampo
- License: mit
- Created: 2019-11-17T15:03:35.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-05-11T12:46:25.000Z (about 1 year ago)
- Last Synced: 2025-04-15T01:05:39.178Z (about 1 month ago)
- Topics: contentful, netlify, nextjs
- Language: TypeScript
- Homepage: https://marcociampini.io/
- Size: 6.18 MB
- Stars: 11
- Watchers: 1
- Forks: 1
- Open Issues: 19
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# Marco Ciampini 2019 portfolio website
[](https://app.netlify.com/sites/marco-ciampini-portfolio-2019/deploys)
Personal portfolio website based on [this next.js template](https://github.com/ciampo/_nextjs-template).
*Note: **The canonical repository is hosted on [github](https://github.com/ciampo/portfolio-2019)***
## 🛠 Setup
- install `node` glolbally
- install `yarn` glolbally
- set up Contentful, Netlify and Google Analytics
- copy `.env.example` and rename it to `env`. Add the correct values for the env variables.
- add the same env variables to Netlify
- `yarn install`## 📝 Main scripts
### `yarn dev`
Starts the application in development mode (hot-code reloading, error reporting, etc)
### `yarn data`
Pulls data from contentful (make sure you added env variables both into a `.env` and into your Netlify project)
### `yarn static`
Builds the app in production mode and exports it as static site ready to be hosted on Netlify.
### `yarn serve:static`
Serves the static site. The application should be compiled with `yarn static` first.
## 💬 Other scripts
### `yarn build`
Compiles the application for production deployment (SSR).
### `yarn serve:ssr`
Starts and serves the application in production mode. The application should be compiled with `yarn build` first.
### `yarn analyze`
Builds the app and opens 2 graphs in the browser showing the app's bundle composition.
### `yarn test`
Lints scripts and styles.
### `yarn test:fix`
Lints scripts and styles, and tries to auto-fix any errors.
## 👻 Contributors
- [Marco Ciampini](https://github.com/ciampo)