An open API service indexing awesome lists of open source software.

https://github.com/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.
https://github.com/iswilljr/dev-challenges

challenge challenges dev dev-challenge dev-challenges hackaton infojobs infojobs-api infojobs-hackathon

Last synced: 2 months ago
JSON representation

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.

Awesome Lists containing this project

README

          

# 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](https://devchallenges.io) with an exciting twist! This app combines the beloved functionality and sleek web design of [devchallenges.io](https://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:

```bash
pnpm install
```

2. Create a **.env.local** file in the root folder and paste your variables:

```bash
cp -r .env.example .env
```

## How to setup local environment

### Setup local PostgreSQL database

- Create the database password and paste it to `POSTGRES_PASSWORD`

```bash
docker-compose up -d
```

### Get Github OAuth Client ID and Client Secret

- [Click here to create new Github OAuth app](https://github.com/settings/applications/new)
- 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:

```bash
pnpm dev
```