Coder Social home page Coder Social logo

vota.dev's Introduction

vota.dev

Welcome to vota.dev!

This is a web platform oriented to help worldwide development community. The mainly goal is to give to developement community a tool where they can find out the state of JS stacks, tools, platforms, libraries and much more and help them to find out which to learn next or use in actual projects.

By survey method we collect data and process it to make the metrics and reports to the community.

Table of Contents

Installation and Documentation

Development

  1. Install the project with npm install
  2. Initialize the @prisma/client with npm prisma generate or npx prisma generate
  3. Set-up your environment variables following the .env.example file. NOTE: The environment file must be named like: .env
    • You can get the GITHUB_ID and GITHUB_SECRET following GitHub - Set-Up an OAuth Application
    • You can set in SECRET whatever you want or a strong character string like a base64, sha1, etc...
    • You need to uncomment NEXTAUTH_URL to remove the warning alert in localhost.
    • You can get the DATABASE_URL following Using Railway
  4. Migrate the prisma generated database to the PostgreSQL on Railway with npm run migrate:dev
  5. You can now start developing for vota.dev

GitHub - Set-Up an OAuth Application

  1. Login to Login - GitHub
  2. Enter your applications in developer settings Apps - GitHub
  3. Inside OAuth Apps click on New OAuth App and fill the fields.
    • You can set the 'Homepage URL' to http://vota.dev and the 'Callback URL' to http://localhost:3000/api/auth/
  4. You can retrieve the Client ID and the Client Secret there

Using Railway

  1. Login to Login - Railway
  2. Accept the ToS ToS - Railway
  3. Create a new project with PostgreSQL Create - Railway
  4. Claim the project
  5. On 'Environment', click on 'PostgreSQL' then click on 'Connect'
  6. You can retrieve the Postgres Connection URL there

Community and Contributions

vota.dev is a community-driven open source project. We are committed to a fully transparent development process and highly appreciate any contributions. Whether you are helping us fixing bugs, proposing new feature, improving our documentation or spreading the word - we would love ❤️  to have you as part of the vota.dev community.

Talk with us or Report an Issue

We are really happy to welcome you in the @midudev community Discord channel 📫  or reporting a bug / issue via Github Issues or answer your questions via GitHub Discussions!

vota.dev's People

Contributors

alejandro1709 avatar andresin87 avatar carlosfernandezcabrero avatar cristhofermf avatar edgarguitarist avatar hodeinavarro avatar jpaddeo avatar kevinzunigacuellar avatar leonardofrp5 avatar maadeval avatar maximinetto avatar midudev avatar nelsondev19 avatar rsbmk avatar vab1997 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vota.dev's Issues

[Windows] "delete ␍ eslint prettier/prettier"

Root cause of the problem

image

The culprit is git... a configuration property "core.autocrlf".
For historical reasons in windows, linux and mac have the line breaks of the text file under are inconsistent.

  • Windows: At the time of line break, carriage return is used at the same time CR(carriage-return character) and line breaks LF(linefeed character) needing CRLF.
  • Mac and Linux System, only use the newline character LF
  • Old version Mac the system uses carriage return CR

image

Solution

  • What needs to be done to fix this error is to change the "AutoCRLF" property to false
git config --global core.autocrlf false
  • Next you need to pull the code again.
  • Finally check if in VSCode is setted LF and not CRLF

image

REFERENCE

https://developpaper.com/solution-to-delete-%E2%90%8Deslint-prettier-prettier-error/

Translations don't work in production

404

The website responds with 404 when you try to see the translation.

image

It is most likely a problem with vercel, since it may not be capturing the url.

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.