Giter Site home page Giter Site logo

csorlandi / csorlandi-bio Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 2.72 MB

Page initially created to be a bio πŸ“ for sharing πŸ”— on social media πŸ“²

Home Page: https://csorlandi.dev

License: MIT License

JavaScript 65.54% Shell 0.52% TypeScript 16.40% CSS 17.54%
react javascript typescript reactjs nextjs portfolio site bio

csorlandi-bio's Introduction

Next Boilerplate was created to be a template for starting NextJS projects with pre-configured settings like Linters, Test Setup, Storybook and Commit Hooks.

Made by Claudio Orlandi Last Commit Contributors License


Table of Contents


πŸ“‹ Features

Build with

  • ReactJS - A JavaScript library for building user interfaces.
  • Typescript - TypeScript is an open-source language which builds on JavaScript, one of the world’s most used tools, by adding static type definitions.
  • NextJS - Next.js gives you the best developer experience with all the features you need for production: hybrid static & server rendering, TypeScript support, smart bundling, route pre-fetching, and more. No config needed.
    • Next PWA - Zero config PWA plugin for Next.js, with workbox 🧰
  • Storybook - Storybook is an open source tool for building UI components and pages in isolation. It streamlines UI development, testing, and documentation.
  • React Testing Library - Simple and complete testing utilities that encourage good testing practices.
  • Jest - Jest is a delightful JavaScript Testing Framework with a focus on simplicity.
  • ESLint - ESLint is a tool for identifying and reporting on patterns found in ECMAScript/JavaScript code.
  • Prettier - Prettier is an opinionated code formatter. It enforces a consistent style by parsing your code and re-printing it with its own rules that take the maximum line length into account, wrapping code when necessary.
  • Editor Config - EditorConfig helps maintain consistent coding styles for multiple developers working on the same project across various editors and IDEs.
  • Husky - Husky improves your commits and more 🐢 woof!
  • Lint Staged - Run linters against staged git files and don't let πŸ’© slip into your code base!

βš” Next Step Challenges

  • Dockerize the project;
  • Configure Deploy on Vercel;
  • Configure CI/CD to GCP;
  • Create branches to configure aditional features like:
    • Styled Components
    • Tailwind CSS
    • GraphQL
    • Some CMS
  • Fix Lint Staged error with CSS files

πŸš€ Getting Started

Prerequisites

  • To run any ReactJS application you need to configure the environment on your machine.

  • Setting the environment is a simple process, so it's recommended to follow the NodeJS documentation, and if you want, install Yarn as Package Manager instead of NPM.

Clone

  • Clone this repo to your local machine using:
git clone https://github.com/csorlandi/next-boilerplate.git

Setup

  • Install project dependencies;

      yarn install
      // or
      npm install

Run Development Mode

  • Run project in development mode;

      yarn dev
      // or
      npm run dev
  • Open a new tab on your browser and access http://localhost:3000;

  • Be Happy! πŸ˜†

Run Production Mode

  • Build the project in production mode;

      yarn build
      // or
      npm run build
  • Run builded project;

      yarn start
      // or
      npm run start
  • Open a new tab on your browser and access http://localhost:3000;

  • Be Happy! πŸ˜†

Run Storybook in Development Mode

  • Run storybook in development mode;

      yarn storybook
      // or
      npm run storybook
  • Open a new tab on your browser and access http://localhost:6006;

  • Be Happy! πŸ˜†

Run Storybook in Production Mode

  • Run storybook in production mode;

      yarn build-storybook
      // or
      npm run build-storybook
  • The command above create storybook-static folder;

  • To see the result, open storybook-static/index.html file on your browser;

  • Be Happy! πŸ˜†

Run Project Tests

  • Run project tests watching all changes;

      yarn test:watch
      // or
      npm run test:watch
  • The command above show on terminal the tests results and code coverage;

  • To see code coverage static page, open coverage/lcov-report/index.html file on your browser;

  • Be Happy! πŸ˜†


πŸ€” Contributing

To get started...

Step 1

  • 🍴 Fork this repo!

Step 2

  • πŸ‘― Clone this repo to your local machine using git clone https://github.com/csorlandi/next-boilerplate.git

Step 3

  • πŸŽ‹ Create your feature branch using git checkout -b my-feature

Step 4

  • βœ… Commit your changes using git commit -m 'feat: My new feature';

Step 5

  • πŸ“Œ Push to the branch using git push origin my-feature;

Step 6

  • πŸ”ƒ Create a new pull request

After your Pull Request is merged, can you delete your feature branch.


πŸ“Œ Support

Reach out to me at one of the following places!


πŸ“ License

License

This project is licensed under the MIT License - see the LICENSE file for details.


Made with πŸ’™ Enjoy it!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.