Git Product home page Git Product logo

snio.dev's Introduction

This project contains the source code of my personal portfolio available on: snio.dev.

Sanity.io Next.js Vercel TypesScript GitHub Actions Lincese MIT


IMPORTANTE UPDATE

From now on this project will mantain integration with Sanity Studio. Follow my Sanity Studio project to get the panel source code base here.

REQUIREMENTS

This project was built using:

RUNNING UP

If you want to run this application localy, follow the steps bellow.

  1. Cloning repository

    $ git clone https://github.com/sineto/snio.dev
  2. Install dependencies

    # This project uses Yarn as package manager.
    # So, install Yarn first.
    $ npm install --global yarn
    
    # install project dependencies
    $ cd snio.dev
    $ yarn install
  3. Running Next.js server in develop mode

    $ yarn dev
  4. Running Next.js server in production mode

    $ yarn build
    $ yarn start

DEVELOPMENT CONSIDERATIONS

This project is being developed under some standards that I intend to follow.

  1. Environment variables:

    The code base requies some environment variables:

    • API_URL: the host from the application will fetch data.
    • NEXT_PUBLIC_SANITY_PROJECT_ID: hash ID of a Sanity project thats can get on dashboard Sanity.io account.
    • NEXT_PUBLIC_SANITY_PROJECT_DATASET: dataset name of a Sanity project thats can get on dashboard Sanity.io account.
    • NEXT_PUBLIC_SANITY_PROJECT_TOKEN: hash token API of a Sanity project thats can get on dashboard Sanity.io account.

    1.1 Create .env file file inside root directory:

    $ echo 'API_URL=http://localhost:3000' >> .env
    $ echo 'NEXT_PUBLIC_SANITY_PROJECT_ID=xxxxxxxx' >> .env
    $ echo 'NEXT_PUBLIC_SANITY_PROJECT_DATASET=development' >> .env
    $ echo 'NEXT_PUBLIC_SANITY_PROJECT_TOKEN=project-token' >> .env
  2. Commit stage

    Before every commit action some triggers took automations.

    • Git commit message need to follow the Angular Commit Message Guidelines;
    • ESLint will check some patterns based on StandardJs rules;
    • Prettier will format the code out of the rules. Those rules was based on my own preferences;
  3. Running code linter manually

    $ yarn lint
  4. Running code format manually

    $ yarn format

ACKNOWLEDGMENTS

  • This project was built during Fullstack Master class by DevPleno.
  • The layout credits mainly go to Logan Cee.

SELF PROMOTION

Do you like this project? Come on:

  • Star and follow the repository on GitHub.
  • Follow me on

LICENSE

MIT License

snio.dev's People

Contributors

sineto avatar sinetoami avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

snio.dev's Issues

http://localhost:3001/api/getUser failed

Please i need your help....
how can I connect my github to the portfolio ??
FetchError: request to http://localhost:3001/api/getUser failed, reason: connect ECONNREFUSED 127.0.0.1:3001

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.