Job board, built with Next.js, hasura and MaterialUI
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
components
data
lib
pages
queries
src
static
tools
.gitignore
Dockerfile
LICENSE
README.md
i18n.js
metadata.json
next.config.js
package.json
schema.sql
server.js
yarn.lock

README.md

nextjob

This project was bootstrapped with Create Next App.

Find the most recent version of this guide at here. And check out Next.js repo for the most up-to-date info.

Table of Contents

Installation

After cloning this repo, you need to run:

yarn install

Then you need to install Hasura, you can either run it from Heroku, DigitalOcean or Docker. If you run it from docker, you just need to do:

wget https://raw.githubusercontent.com/hasura/graphql-engine/master/install-manifests/docker-compose/docker-compose.yaml

Then start Hasura with the following:

docker-compose up -d

You can stop it with:

docker-compose stop

Connect to your postgresql and import schema.sql Connect to the hasura dashboard and import metadata.json

Getting Started

Make sure to create a github and linkedin app for signing in users. The oauth return to url is just http://yourdomain/. No additional path needed.

If you want to run the app, you just need to do:

SENDGRID_API_KEY=YOUR_SENDGRID_API_KEY GITHUB_ID=GITHUB_ID GITHUB_SECRET=GITHUB_SECRET HASURA_SECRET=YOUR_HASURA_SECRET JWT_SECRET=SOME_RANDOM_UUID LINKEDIN_ID=YOUR_LINKEDIN_ID LINKEDIN_SECRET=YOUR_LINKEDIN_SECRET yarn start

Optional, you can also add these variables if you want to use Google Cloud Storage as CDN:

  • GOOGLE_STORAGE_PROJECT_ID
  • GOOGLE_STORAGE_BUCKET
  • GOOGLE_STORAGE_CLIENT_EMAIL
  • GOOGLE_APPLICATION_CREDENTIALS
  • CDN (your cdn domain name)