Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sandulat/blitz-jobs
The first-ever Blitz.js job board.
https://github.com/sandulat/blitz-jobs
blitzjs nextjs prisma reactjs typescript
Last synced: 3 months ago
JSON representation
The first-ever Blitz.js job board.
- Host: GitHub
- URL: https://github.com/sandulat/blitz-jobs
- Owner: sandulat
- Created: 2020-09-23T15:02:14.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-09-23T16:10:47.000Z (over 4 years ago)
- Last Synced: 2024-08-02T13:35:16.548Z (7 months ago)
- Topics: blitzjs, nextjs, prisma, reactjs, typescript
- Language: TypeScript
- Homepage: http://blitz-jobs.com
- Size: 299 KB
- Stars: 34
- Watchers: 3
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# **Blitz.js Jobs**
The first-ever [Blitz.js job board](https://blitz-jobs.com/). This project is non-commercial, meaning that anyone can post jobs for free.
## Getting Started
Run your app in the development mode.
```
blitz start
```Open [http://localhost:3000](http://localhost:3000) with your browser to see the result.
## Environment Variables
Ensure the `.env.local` file has required environment variables:
```
APP_URL=http://localhost:3000
DATABASE_URL=postgresql://@localhost:5432/jobboard
MAIL_DRIVER=PREVIEW
MAIL_FROM_EMAIL="[email protected]"
MAIL_FROM_NAME="Blitz.js Jobs"
```The environment variable `MAIL_DRIVER` can be equal to one of these:
- `SMTP` - Basic SMTP driver. Requires these environment variables to be set:
- `MAIL_HOST`
- `MAIL_PORT`
- `MAIL_USER`
- `MAIL_PASS`
- `SENDGRID` - Sendgrid driver. Requires these environment variables to be set:
- `MAIL_SENDGRID_KEY`
- `PREVIEW` - Browser preview driver.Usage example:
```js
import { mail } from "app/mail/mail"mail.send({
subject: "Please confirm your email",
to: "[email protected]",
view: "auth/mail/user-confirmation",
variables: { confirmationUrl: "https://confirmation.url/" },
})
```## Commands
Blitz comes with a powerful CLI that is designed to make development easy and fast. You can install it with `npm i -g blitz`
```
blitz [COMMAND]build Create a production build
console Run the Blitz console REPL
db Run database commands
generate Generate new files for your Blitz project
help display help for blitz
start Start a development server
test Run project tests
```You can read more about it on the [CLI Overview](https://blitzjs.com/docs/cli-overview) documentation.
## To do
Contributions and suggestions of any kind are very welcome.
Here is a list of things that need to be developed:
- [ ] Forgot password system
- [ ] Tests
- [ ] Captcha (login, signup, post job)