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.
- Install the project with
npm install - Initialize the
@prisma/clientwithnpm prisma generateornpx prisma generate - Set-up your environment variables following the
.env.examplefile. NOTE: The environment file must be named like:.env- You can get the
GITHUB_IDandGITHUB_SECRETfollowing GitHub - Set-Up an OAuth Application - You can set in
SECRETwhatever you want or a strong character string like a base64, sha1, etc... - You need to uncomment
NEXTAUTH_URLto remove the warning alert in localhost. - You can get the
DATABASE_URLfollowing Using Railway
- You can get the
- Migrate the prisma generated database to the PostgreSQL on Railway with
npm run migrate:dev - You can now start developing for vota.dev
- Login to Login - GitHub
- Enter your applications in developer settings Apps - GitHub
- Inside
OAuth Appsclick onNew OAuth Appand fill the fields.- You can set the 'Homepage URL' to
http://vota.devand the 'Callback URL' tohttp://localhost:3000/api/auth/
- You can set the 'Homepage URL' to
- You can retrieve the Client ID and the Client Secret there
- Login to Login - Railway
- Accept the ToS ToS - Railway
- Create a new project with PostgreSQL Create - Railway
- Claim the project
- On 'Environment', click on 'PostgreSQL' then click on 'Connect'
- You can retrieve the Postgres Connection URL there
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.
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!