iswilljr / dev-challenges

Web Development Resources that help you to become a Web Developer by working with Real-life projects and practices. Create your own challenges with InfoJobs Offers.

Home Page:https://devch.vercel.app

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dev Challenges

Web Development Resources that help you to become a Web Developer by working with Real-life projects and practices. Create your own challenges with InfoJobs Offers.

Introducing my web app inspired by devchallenges.io with an exciting twist! This app combines the beloved functionality and sleek web design of devchallenges.io with an innovative addition: the ability for users to create their own challenges using the powerful Infojobs API.

Getting Started

  1. Install dependencies:
pnpm install
  1. Create a .env.local file in the root folder and paste your variables:
cp -r .env.example .env

How to setup local environment

Setup local PostgreSQL database

  • Create the database password and paste it to POSTGRES_PASSWORD
docker-compose up -d

Get Github OAuth Client ID and Client Secret

  • Click here to create new Github OAuth app
  • Set the Application name. Example: Dev Challenges development
  • Set the Homepage URL to http://localhost:3000
  • Set the Authorization callback URL to http://localhost:3000/api/auth/callback/github
  • Go to "Client secrets" and generate new client secret
  • Copy the Client ID and Client Secret
  • Go to .env and paste the Client ID and Client Secret

Other env variables

  • INFOJOBS_TOKEN
  • NEXTAUTH_SECRET

Start developing

Now you can run:

pnpm dev

About

Web Development Resources that help you to become a Web Developer by working with Real-life projects and practices. Create your own challenges with InfoJobs Offers.

https://devch.vercel.app


Languages

Language:TypeScript 96.4%Language:JavaScript 1.8%Language:PLpgSQL 0.9%Language:CSS 0.9%