Blog
Project open source created with Next JS + Vercel to generate static pages (SSG) through getStaticPaths and getStaticProps feature. Posts are written in Markdown and managed by the application itself.
A blog by a full-stack developer, digital marketing analyst and consumer experience enthusiast. Team Liquid fan and musician in his spare time. Whenever possible, I like to teach my friends about something I've learned, I think that's why this blog was born.
Figma Project
Click here to open the prototype
Technology stack
Running locally
- Clone this repo:
$ git clone https://github.com/cassiorsfreitas/blog.git
- Then go to the project's folder:
cd blog
- Install all dependencies:
npm install or yarn
- Run locally:
npm run dev or yarn dev
Running tests
"test": "jest --passWithNoTests --runInBand --no-cache --silent --noStackTrace", "test:unit": "yarn test --watch -c jest-unit-config.js", "test:staged": "yarn test --findRelatedTests", "test:integration": "yarn test --watch -c jest-integration-config.js", "test:verbose": "jest --passWithNoTests --runInBand --no-cache", "test:ci": "yarn test --coverage", "cypress:open": "cypress open"
- General test:
"test": "jest --passWithNoTests --runInBand --no-cache --silent --noStackTrace"
- Unit test:
"test:unit": "yarn test --watch -c jest-unit-config.js"
- Integration test:
"test:integration": "yarn test --watch -c jest-integration-config.js"
- CI test:
"test:ci": "yarn test --coverage"