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.
- Host: GitHub
- URL: https://github.com/iswilljr/dev-challenges
- Owner: iswilljr
- Created: 2023-05-21T22:56:11.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-05-12T03:00:44.000Z (about 2 years ago)
- Last Synced: 2024-05-12T04:19:00.540Z (about 2 years ago)
- Topics: challenge, challenges, dev, dev-challenge, dev-challenges, hackaton, infojobs, infojobs-api, infojobs-hackathon
- Language: TypeScript
- Homepage: https://devch.vercel.app
- Size: 545 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
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
```